What is the point of test cases of [1,2] and [1,2,3]


  • 0
    H

    Got wrong answers by these two test cases. I don't think they are reasonable as the array sorted in ascending order is rotated at some pivot.


Log in to reply
 

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