Which algorithm is used to find the minimum spanning tree of a graph?
15 views
- Depth First Traversal
- Breadth First Traversal
- Prim`s Algorithm (Correct Answer)
- Dijkstra`s Algorithm
Explanation
Answer: c) Prim`s Algorithm
Explanation: Prim`s Algorithm is used to find the minimum spanning tree of a weighted, undirected graph. It works by starting with a single vertex and adding the closest vertex to the tree in each iteration, until all vertices are included.