CoinSwitch Interview Question

min element in sorted rotated array