Topic: Mathematics Problem / Level: advanced

Problem: Write a program to find the minimum spanning tree using Prims or Kruskals algorithm.

Run the code to see the output here...