โ† Amazon questions

Check if robot moves in a circular fashion

Filed under Amazon

Given a sequence of moves ('G' for go, 'L' for left, 'R' for right) given to a robot, determine if the robot returns to the origin or moves in a bounded circle.

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.