Question d’entretien chez Revolut

LeetCode question with binary trees.