Question d’entretien chez Amazon

A DSA question based on stacks