收藏到CSDN网摘
If you are working on any 8-puzzle related tasks, try your method with the following initial board which is considered to be the hardest to solve. Actually, it requires 31 moves to solve.
8 6 7
2 5 4
3 0 1
Someone may prefer empty/space rather than using 0. But the concept keeps the same.
No comments :
Post a Comment