Find the minimum element in a rotated sorted array with distinct values.
nums = [3,4,5,1,2]
1
nums = [4,5,6,7,0,1,2]
0
nums = [11,13,15,17]
11