Question DSA-GRDY-0050
MediumEdges: A–B 1, B–C 4, A–C 3, C–D 2, B–D 5. What is the weight of the minimum spanning tree?
- A.
6
- B.
8
- 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
Edges: A–B 1, B–C 4, A–C 3, C–D 2, B–D 5. What is the weight of the minimum spanning tree?
6
8
Sign up free to see the answer and a step-by-step explanation.
10
7