Topic: Tree Problem / Level: advanced

Problem: Count the number of nodes in the longest path from the root to a leaf in a binary tree.

Run the code to see the output here...