Question: Suppose we have an edge-weighted graph (G) and a pre-calculated (with Kruskal or Prim algorithm) MST for this graph (in other words, we have edge
Suppose we have an edge-weighted graph (G) and a pre-calculated (with Kruskal or Prim algorithm) MST for this graph (in other words, we have edge information that makes up the MST). Suppose we add a new node (w) to our line and new weighted edges connecting this new node to a subset of the existing nodes of the line. We do not touch existing old knots and edges in any way. Describe what would be the quickest and fastest possible way to find the MST of the new line (do not write pseudocode). Please verify why the road you are following will be the fastest one.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
