Topic: Graph Theory Problem / Level: intermediate

Problem: Write a program to implement the Kahn’s algorithm for topological sorting in a directed graph.

Run the code to see the output here...