Domanda di colloquio di Tripadvisor

Find whether a tree is balanced

Risposta di colloquio

Anonimo

2 feb 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.