Topic: Tree Problem / Level: advanced

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

Run the code to see the output here...