updated find minimum rotated sorted array