Question: Do Kruskal s and Prim s algorithm find an MST where edges can have negative weight? Group of answer choices Neither do . Prim s

Do Kruskals and Prims algorithm find an MST where edges can have negative weight?
Group of answer choices
Neither do.
Prims algorithm does, Kruskals algorithm does not.
Both do.
Kruskals algorithm does, Prims algorithm does not.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!