Topic: Tree Problem / Level: intermediate

Problem: Count the number of subtrees in a binary tree.

Run the code to see the output here...