InMobi Interview Question

find the minimum element in a rotated sorted array.