โ† Nagarro questions

Prisoner jumping walls

Filed under Nagarro

A prisoner needs to jump N meters/walls. The walls are slippery, causing the prisoner to slip down by a fixed amount after each upward jump. Determine the number of jumps required to escape.

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related Nagarro questions

Collected from public candidate posts and coding forums. Updated Nov 2026.