http://oj.leetcode.com/problems/search-in-rotated-sorted-array/