Given a rotated sorted array of distinct integers, return its minimum element. Must run in O(log n).
Example: nums = [3,4,5,1,2] → 1.
nums = [3,4,5,1,2]
1