Easiest to code algorithm for Rubik's cube?

前端 未结 7 2170
爱一瞬间的悲伤
爱一瞬间的悲伤 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:52

    Perform random operations until you get the right solution. The easiest algorithm and the least efficient.

提交回复
热议问题