Interview question to fidn the minimum element in a rotated sorted array