Topic: Tree Problem / Level: advanced

Problem: Implement a function to find the longest path in a binary tree from root to any node using properties.

Run the code to see the output here...