← All problemsSign in

They See Me Rollin

They See Me Rollin This input refers to this board Output: There are a series of zig-zag platforms, each platform of different length, making an angle of either 45 or 135 degrees with the horizontal. Let's say there are n such platforms (like those in the figure). A ball is dropped on the top most platform. The ball rolls down the platform and falls on the lower platform. The ball may or may

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