Adobe Interview Question

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