Topic: Tree Problem / Level: intermediate

Problem: Find the total number of leaves in a binary search tree.

Run the code to see the output here...