26MilesCapital interview question

Minimum Spanning Tree (Prim's Algorithm) : Code and Time Complexity