Question d’entretien chez TikTok

Binary tree question really classical