Pregunta de entrevista de Tripadvisor

Find whether a tree is balanced

Respuesta de la entrevista

Anónimo

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.