Please note that the content of this book primarily consists of articles
available from Wikipedia or other free sources online. There are many
algorithms to solve scrambled Rubik's Cubes. The maximum number of face
turns needed to solve any instance of the Rubik's cube is 20. This
number is also known as the diameter of the Cayley graph of the Rubik's
cube group. An algorithm that solves a cube in the minimum number of
moves is known as God's algorithm. There are two common ways to measure
the length of a solution. The first is to count the number of quarter
turns. The second is to count the number of face turns. A move like F2
(a half turn of the front face) would be counted as 2 moves in the
quarter turn metric and as only 1 turn in the face metric. It can be
proven by counting arguments that there exist positions needing at least
18 moves to solve.