Pergunta de entrevista da empresa Tripadvisor

Find whether a tree is balanced

Resposta da entrevista

Sigiloso

2 de fev. de 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.