Tag: Binary Search

  1. Leetcode 153 Find Minimum in Rotated Sorted Array

    This problem is really weird, cause you can use a very simple way to figure it out. The runtime difference is very little. Problem 153 Find Minimum in Rotated Sorted Array Suppose a sorted array is rotated at some pivot unknown to you beforehand. (i.e., 0 1 2 4…

    on Leetcode Java Array Binary Search