Question d’entretien chez Meta

Finding the peak in an array

Réponse à la question d'entretien

Utilisateur anonyme

28 mars 2026

I implemented the binary search, but I didn't explain that you assume you'll find the peak where value is increasing (it matters for stopping condition).