Suppose an array of length n sorted in ascending order is rotated between 1 and n times. Given the sorted rotated array of unique elements, return the minimum element of this array. The algorithm must run in O(log n) time.
Click Run to execute sample tests.