Question d’entretien chez Amazon

Question that used a monotonic stack