Topic: Tree Problem / Level: advanced

Problem: Write a program to find the longest path in a binary tree that starts from any node using properties.

Run the code to see the output here...