Solving the Rubik's Cube Optimally is NP-complete

21 Jun 2017  ·  Erik D. Demaine, Sarah Eisenstat, Mikhail Rudoy ·

In this paper, we prove that optimally solving an $n \times n \times n$ Rubik's Cube is NP-complete by reducing from the Hamiltonian Cycle problem in square grid graphs. This improves the previous result that optimally solving an $n \times n \times n$ Rubik's Cube with missing stickers is NP-complete. We prove this result first for the simpler case of the Rubik's Square---an $n \times n \times 1$ generalization of the Rubik's Cube---and then proceed with a similar but more complicated proof for the Rubik's Cube case.

PDF Abstract
No code implementations yet. Submit your code now

Categories


Computational Complexity Computational Geometry Combinatorics F.1.3

Datasets


  Add Datasets introduced or used in this paper