I am student of computer science. And i have a project to make the rubik cube 2X2X2 solver in C++. I have used matrices to solve the cube , and cube is solving the scrambled input correctly but a specific input , which means that our rotations are working correctly. Now i have to code for any input. i have red many ways but i am unable to decide which one is the correct and easy way. so kindly if someone know any easy and correct agorithm to solve a rubik cube for any input , share with me.