[add] min element of a rotated sorted array in O(logn)