TNP CHALLENGE 704
CodeChefOpen on judge ↗
Bonnie is a young stag who is always hungry for more food. Once as he was roaming through the jungle,he saw a stable on a huge tree top, full of the food he loved .He rushed to the stable,but at the entrance he was stopped by a spirit.It told him that,if he answered a question,he could have all the food. SPIRIT:- There are “N”steps to reach the treetop.If you could hop 1 step,2 steps or 3 steps
HINT LADDERno hints yet
L1 Observation
L2 Technique
L3 Approach
L4 Pseudo-code
🔒
L5 Full solution
L5 unlocks only if you insist twice
solution.cppC++17
CodeSearch Tutor
Hints, not spoilers — it won’t hand over the full solution unless you insist.
Sign in to chat with the tutor and save your progress.
Sign in to start