Topic: Graph Theory Problem / Level: intermediate

Problem: Write a program to find the minimum number of swaps required to sort a directed graph.

Run the code to see the output here...