Question d’entretien chez Tripadvisor

Find whether a tree is balanced

Réponse à la question d'entretien

Utilisateur anonyme

2 févr. 2015

Messed up my response. Correct answer was: create a helper function to find the height and then create a recursive function to check on every subtree of the tree.