Find Minimum in Rotated Sorted Array
ID: 159; medium; 寻找旋转排序数组中的最小值
Solution 1 (Java)
Notes
We use the last element as the target since we lack a target for the binary search. The reason is that we can reduce the range that contains the minimum number using this target.
Also, note that the array may not be rotated at all.
Last updated