Question d’entretien chez TikTok

sum up the nodes in binary tree.