If nums[mid] is greater than nums[right], where is the minimum?
Practice this question from Find Minimum in Rotated Sorted Array - Rotated minimum Pattern Practice Quiz, with options and an explanation.
Question
If nums[mid] is greater than nums[right], where is the minimum?
Option A — Correct answer
To the right of mid
Option B
Always at mid
Option C
To the left of left
Option D
Outside the array
Explanation
The minimum must be to the right of mid.