Question d’entretien chez IXL Learning

Find peaks in array leetcode