0
1.5kviews
Explain the concept of greedy technique for Prim's algorithm. Obtain minimum cost spanning tree for the graph below Prim's algorithm.
1 Answer
written 2.1 years ago by |
Prim's Algorithm is a greedy approach that is used to find the Minimum Spanning Tree (MST) from a graph.
To apply Prim’s algorithm, the given graph must be weighted, connected, and undirected.
Prim's algorithm finds the subset of edges that includes every vertex of the graph such that …