RETPO Clarification

please explain the second test case anyone … The problem statement is a little-bit confusing.
I think the answer for moving to (3,4) should be 9.
Why it is 7 ?

please help … I’m wasting too much of time for a simple problem.

just keep in mind that he can move in the the left or right direction wrt himself and not us.He’s facing the positive x direction in the beginning.

can u please give me the sequence of steps like testcase 1 ?

plz give me the sequences of steps for testcase 2

sequence is LRLRLRL

1 Like

Pls use correct tags.this post is classified under :june 14" it should be under “july 14”