Question d’entretien chez Avanze Group

Leetcode easy medium problem based on trees