Question d’entretien chez Komprise

Question related to binary tree in coding round.