Topic: Graph Theory Problem / Level: beginner

Problem: Write a program to print all vertices with no incoming edges in a directed acyclic graph using BFS.

Run the code to see the output here...