Question d’entretien chez Meta

Find a peak element, binary tree right side