โ† Amazon questions
CodingEasy

Final coordinates after commands

Filed under Amazon

Starting at (0,0) facing North, track the final (x, y) coordinates after a sequence of commands: 'L' (turn left), 'R' (turn right), 'F' (move forward), 'B' (move backward).

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 Amazon questions

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