Topic: Tree Problem / Level: intermediate

Problem: Write a program to count the total number of internal nodes in a binary search tree.

Run the code to see the output here...