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
- Greedy
- Chief Hopper
- Discussions
Chief Hopper
Chief Hopper
Sort by
recency
|
147 Discussions
|
Please Login in order to post a comment
Easy Solution
Here is my solution in java, javascript, python, C, C++, Csharp HackerRank Chief Hopper Problem Solution
C++
Python 3. The idea is to work backwards assuming that the final energy must be 0 or 1.