We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
- Prepare
- Algorithms
- Search
- Gena Playing Hanoi
- Discussions
Gena Playing Hanoi
Gena Playing Hanoi
Sort by
recency
|
36 Discussions
|
Please Login in order to post a comment
C++ (more at https://github.com/IhorVodko/Hackerrank_solutions , feel free to give a star:) )
Build bfs tree where each node is a game state.
Most straightforward solution, in my opinion:
Cached optimized brute force passes all tests.
Here is my solution in java, javascript, python, C, C++, Csharp HackerRank Gena Playing Hanoi Problem Solution
Here is the solution of Gena Playing Hanoi Click Here