Solve "Search in Rotated Sorted Array" in O(lgn) time complexity