...
/Solution: Find Minimum in Rotated Sorted Array
Solution: Find Minimum in Rotated Sorted Array
Let's solve the Find Minimum in Rotated Sorted Array problem using the Modified Binary Search pattern.
Statement
You’re given a rotated sorted array, arr
, of length
For example,
Before rotation,
arr
After
rotations, the array becomes .
Mathematically, we can say that if the original array was