Search in rotated sorted array II