Pergunta de entrevista da empresa IXL Learning

Find peak element leetcode question