Topic: Tree Problem / Level: advanced

Problem: Find the longest path in a binary tree that starts from any node using properties.

Run the code to see the output here...