Given a sequence of operations ('L' for left turn, 'R' for right turn, 'A' for advance) for a robot starting at the origin (0,0) facing North, determine if the robot's path ever revisits any…
You've read your 3 free write-ups
Sign up free to keep reading. Your account opens the first 10 questions of every company.