Question d’entretien chez Meta

Hard problem related to recursion on a tree