Moving forward and backward


  • 0
    N

    Hey why is

    [-1, 1, 2, 2]

    a false case?

    Does it mean the loop has to go only one direction and never back then forward again?


Log in to reply
 

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