Pregunta de entrevista de IXL Learning

Find peak element leetcode question