Question d’entretien chez Allen Institute

Asked a tree question from leetcode.