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.

Comments (0)

No comments yet. Be the first to comment!

Want to practice more?

Explore thousands of MCQs across every exam category on Exams Nepal.

Find More MCQs