Concept Flow - Find Minimum in Rotated Sorted Array
Start with full array
Check if array is rotated?
No
Return first element
While low < high
Find mid = (low+high)/2
Compare mid element with high element
low = mid+1
Loop until low == high
Return element at low
We check if the array is rotated. If not, the first element is minimum. Otherwise, we use binary search comparing middle and high elements to narrow down the minimum's position until low meets high.
