Question DSA-GRDY-0027
EasyPrim's minimum spanning tree algorithm is an example of which approach?
- A.
Greedy
- B.
Dynamic programming
- C.
Sign up free to see the answer and a step-by-step explanation.
Popular companies
Prepare company by company
Hiring pattern, syllabus, past questions and mocks for each company.
All companiesPractice by subject
Greedy question
Prim's minimum spanning tree algorithm is an example of which approach?
Greedy
Dynamic programming
Sign up free to see the answer and a step-by-step explanation.
Backtracking
Brute force