Meta interview question

Find peak element with binary search