Meta Interview Question

find peak element on leetcode