Topic: Tree Problem / Level: advanced

Problem: Implement a function to find the diameter of a binary search tree using a helper function.

Run the code to see the output here...