What about LLLL?


  • 1
    F

    LLLL should also be considered as a circle, right?


  • 0
    F

    @fuzz It should be false. The problem is little vague about it. The movement always assumes your point of view( original position) is constant. If i go L four times meaning going in left direction four times. Not going to left and then count left from that new position.


  • 0
    A

    If this is true then don't need up and down, just left and right.
    LLLL return false


Log in to reply
 

Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.