Microsoft Interview Question

Design algorithm for the game Rubik Cube