Question d’entretien chez Thinkify

A medium tree question from leetcode