Topic: Graph Theory Problem / Level: intermediate

Problem: Write a program to calculate the number of edges in a minimum spanning tree of a directed graph.

Run the code to see the output here...