Prim’s algorithm using priority_queue in STL – STL Implementation of Algorithms – Given an undirected, connected and weighted graph, find Minimum Spanning
STL Implementation of Algorithms
2 Articles
2
Kruskal’s Minimum Spanning Tree using STL in C++ – STL Implementation of Algorithms – Use a vector of edges which consist of all the edges in the graph.