Pergunta de entrevista da empresa Proptiger

In a given int array of size n with distinct element, find any local maxima.