search in rotated sorted array

leverage binary search in STL (lower_bound) to implement
user defined operator