Approach hintTry it first, then revealHide
Compare nums[mid] with nums[hi]: if it is larger, the rotation point and the minimum lie strictly to the right of mid; otherwise the minimum is at mid or to its left.
Compare nums[mid] with nums[hi]: if it is larger, the rotation point and the minimum lie strictly to the right of mid; otherwise the minimum is at mid or to its left.