Given a binary tree, find the longest path length in the tree.
Anonymous
It seems that you were asked about not for the longest root to leaf path, but any path. In that case, it would be the max of left_height + right_height + 1 from any root.
Check out your Company Bowl for anonymous work chats.