← All problemsSign in

Chris is Sciurophobic

Helton Park, is known for its huge mango trees. Squirrels play around on the tree branches every morning. A tree can have up to X-1 branches, starting from 2 till X. The squirrels gather in the branches numbered from 2 to P during mornings and only jump to those branches, that are legit multiples of their initial branch numbers.  Assume a squirrel is initially seated in branch 3 it can only move

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.

voice by Sarvam AI

Sign in to chat with the tutor and save your progress.

Sign in to start