find the minimum element in a sorted and rotated array