What is the maximal number of steps that a computer (using the fastest algorithm) would need to solve an arbitrary 2x2x2 Rubik's Cube configuration?
Are there any other known algorithms that will perform similarly fast?
Puzzling Stack Exchange is a question and answer site for those who create, solve, and study puzzles. It only takes a minute to sign up.
Sign up to join this communityWhat is the maximal number of steps that a computer (using the fastest algorithm) would need to solve an arbitrary 2x2x2 Rubik's Cube configuration?
Are there any other known algorithms that will perform similarly fast?
From http://en.wikipedia.org/wiki/Pocket_Cube:
The maximum number of turns required to solve the cube is up to 11 full turns, or up to 14 quarter turns.
As for an efficient algorithm, there are only ~3.7M configurations1 that the 2x2x2 cube can have, so it would not be unreasonable to store the solution for each of these positions in a look-up table. You can generate the look-up table by starting with a solved cube and "scrambling" it to arrive at each of the 3.7M configurations (keeping track of your turns along the way) and then "backtrack" to solve the cube from that configuration.
There are also efficient algorithms for the 3x3x3 cube, such as Korf's Algorithm, which you may be able to employ when solving the 2x2x2 cube. However, note the following:
Although this algorithm will always find optimal solutions there is no worst case analysis. It is not known how many moves this algorithm might need.
1 As opposed to the 3x3x3 cube for which there are 43,252,003,274,489,856,000 configurations.