Myntra Interview Experience | Set 5


Attended coding interview for myntra. Question was based on the movement of Robot.

G-GO one unit
L-Turn left
R-Turn right

Given an input of string have to find whether there exists a circle which the robot would traverse. Input of string is the set of G,L,R have to return yes or no.

If you like GeeksforGeeks and would like to contribute, you can also write an article and mail your article to See your article appearing on the GeeksforGeeks main page and help other Geeks.

GATE CS Corner    Company Wise Coding Practice

Recommended Posts:

3.3 Average Difficulty : 3.3/5.0
Based on 8 vote(s)

Writing code in comment? Please use, generate link and share the link here.