计算机科学 > 计算复杂性
[提交于 2017年6月21日 (v1),最后修订于 2018年4月27日 (此版本, v2)]
标题:Solving the Rubik's Cube Optimally is NP-complete
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要: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.