You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying the following case:
int[][] initial = { {7, 2, 4}, {5, 0, 6}, {8, 3, 1} };
we get a lot of lag and this error:
Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
at Node.(Node.java:17)
at Puzzle.solve(Puzzle.java:87)
at Puzzle.main(Puzzle.java:104)