Question d’entretien chez Multiplier

A simple tree problem which can be solve using BFS, DFS