Topic: Queue Problem / Level: beginner

Problem: Write a program to find the length of the shortest path in a queue-based traversal.

Run the code to see the output here...