Check if a robot's movement sequence is circular
Filed under Swiggy
The question
Given a sequence of moves for a robot (e.g., G for go, L for left), check if the given sequence of moves forms a circular path or not.
No write-up yet. Related questions below have one.
Related Swiggy questions
Collected from public candidate posts and coding forums. Updated Nov 2026.