Topic: Tree Problem / Level: intermediate

Problem: Calculate the total number of nodes in a binary search tree.

Run the code to see the output here...