Topic: Tree Problem / Level: advanced

Problem: Create a function to find the longest path in a binary tree that starts from any node based on properties.

Run the code to see the output here...