Topic: Tree Problem / Level: intermediate

Problem: Count the number of leaf nodes at each level in a binary tree.

Run the code to see the output here...