Pergunta de entrevista da empresa QXO

I think the coding question was find peek element, which is on the lower end of leet code medium.