Pergunta de entrevista da empresa Adobe

Q. Find height of tree. Where will the recursive solution fail? Fix it