Find Minimum in Rotated Sorted Array
Signals to notice
Brute force first
Linear scan to find where the descent happens. Ignores the sorted structure entirely. That direct path helps you understand the question, but it tends to treat every possibility as brand new instead of learning from earlier steps.
The key insight
Binary search: compare mid to right. If mid > right, the minimum is in the right half (the rotation break is there). If mid ≤ right, the minimum is in the left half including mid. The goal is not to be clever for its own sake, but to remember the one relationship that keeps the solution grounded as you move forward.
What must stay true
The minimum is always at the rotation point — where the sorted order breaks. One half of the array around mid is always fully sorted; the minimum is in the other half. If that remains true after every update, the rest of the reasoning has a stable place to stand.
Easy way to go wrong
Comparing mid to left instead of right. Comparing to right is cleaner because it directly tells you which half contains the rotation point. The fix is usually to return to the meaning of each move, not just the steps themselves.