Question d’entretien chez Microsoft

A DSA question based on trees