Meta Interview Question

Find peak element with binary search