Topic: Tree Problem / Level: intermediate

Problem: Find the maximum path sum in a binary search tree based on node values.

Run the code to see the output here...