LeetCode Solution, Medium, 81. Search in Rotated Sorted Array II