find minimum in rotated sorted array
search in rotated sorted array II