Concise version of Search in Rotated Sorted Array