Easiest to code algorithm for Rubik's cube?

前端 未结 7 2166
爱一瞬间的悲伤
爱一瞬间的悲伤 2021-01-31 03:59

What would be a relatively easy algorithm to code in Java for solving a Rubik\'s cube. Efficiency is also important but a secondary consideration.

7条回答
  •  礼貌的吻别
    2021-01-31 04:34

    For your reference, you can certainly look at this java implementation. --> Uses two phase algorithm to solve rubik's cube. And have tried this code and it works as well.

提交回复
热议问题