← All problemsSign in

Last Run

Newly launched Robot is given the name LastRunner. Robot is programmed to accept a number of paths that he should take to reach final destination. Robot is initially at point with co-ordinates(0,0) facing in the positive direcction of X-axis. Robot is instructed by the user to reach its final destination by taking specified paths. User can instruct the Robot to rotate in anticlockwise or clockwise

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