Topic: Graph Theory Problem / Level: beginner

Problem: Write a program to count the number of nodes at each level of a tree.

Run the code to see the output here...