searchRotatedArray