This website uses cookies to ensure you get the best experience. Learn more about DOAJ’s privacy policy.
Hide this message
Algorithms (Jul 2015)
Affiliations
Read online
It is shown that the greedy algorithm for the \((n^2-1)\)-puzzle makes \(\tfrac{8}{3}n^3 +O(n^2)\) expected moves. This analysis is verified experimentally on 10,000 random instances each of the \((n^2-1)\)-puzzle for \(4 \leq n \leq 200\).