Solve "Search in Rotated Sorted Array II"