Search
⌘K

Leetcode 1041. Robot Bounded In Circle

Determine whether repeating a sequence of unit moves (G) and 90° turns (L/R) forever keeps a robot on the plane within some finite circle. Core challenge: analyze the sequence's net displacement and final orientation to decide if repeated execution yields a cycle or unbounded drift.


Question Timeline

See when this question was last asked and where, including any notes left by other candidates.

Comments

Your account is free and you can post anonymously if you choose.