×

Multiple-Choice Questions

Web Technologies MCQs

Computer Science Subjects MCQs

Databases MCQs

Programming MCQs

Testing Software MCQs

Digital Marketing Subjects MCQs

Cloud Computing Softwares MCQs

AI/ML Subjects MCQs

Engineering Subjects MCQs

Office Related Programs MCQs

Management MCQs

More

What type of algorithm is Prim's algorithm?

40. What type of algorithm is Prim's algorithm?

  1. Dynamic Programming
  2. Divide and Conquer
  3. Greedy
  4. Backtracking

Answer

The correct answer is: C) Greedy

Explanation

Prim's algorithm is a greedy algorithm that builds the MST by selecting the minimum weight edges at each step.

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.