Topic: Tree Problem / Level: beginner

Problem: Implement a function to count the number of nodes at each level of a binary tree.

Run the code to see the output here...