Topic: Graph Theory Problem / Level: advanced

Problem: Write a program to calculate the number of edges in a minimum spanning tree using Prims algorithm.

Run the code to see the output here...