test case [1,1,-2,1,1,4] should return true


  • 0
    J

    I found my code(return true) has a bug, we should not only check the fisrt circle wheather forward or backword, however, it is accepted.


Log in to reply
 

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