Topic: Tree Problem / Level: advanced

Problem: Calculate the number of nodes in a binary tree that are leaf nodes.

Run the code to see the output here...