You are viewing a single comment's thread. Return to all comments →
Solved using A* search with heuristic log2(lon2(N)). Simple BFS exceeds time limit, even with memoization.
Seems like cookies are disabled on this browser, please enable them to open this website
Down to Zero II
You are viewing a single comment's thread. Return to all comments →
Solved using A* search with heuristic log2(lon2(N)). Simple BFS exceeds time limit, even with memoization.