154. Find Minimum in Rotated Sorted Array II
# Hard
Same as #81.
Solution 1:
consider the edge case: 1 element
skip repeated element at the beginning and end
find the pivot
get result under 2 situations
Solution 2:
remove same element from end
find the pivot
Last updated