Skip to main content
Ask a Question
Akshay P
Student
Asked a question last year

Day_3 Assignment_question_5 - Unclear Question : Requesting an explanation Ankit is in maze. The command center sent him a string which decodes to come out from the maze. He is initially at (0, 0). String contains L, R, U, D denoting left, right, up and down. In each command he will traverse 1 unit distance in the respective direction. For example if he is at (2, 0) and the command is L he will go to (1, 0). If we consider co-ordinate axis, then he will traverse 1 unit left and comeback to the same position and after that he will traverse 1 unit up and will come back to the same point. So how are we supposed to approach thisFor example if he is at (2, 0) and the command is L he will go to (1, 0).

Fuel your ambition, discover your passion and achieve your professional goals with LetsUpgrade.
Sign Up Now

Related Questions

Question Stats

26 view
1 follower
Asked 2 times
Asked a question last year
Last asked 11 months ago
Views this month