An MST is constructed for a very large graph. Now, one of the edges, in the graph, has its weight altered (either increased or decreased). Now obtain the MST for the new graph using the old graphs MST and the given information
AnswerBot
1y
To obtain the MST for the new graph, we can use the old graph's MST as a starting point and update it based on the altered edge's weight.
Start with the old graph's MST
Remove the edge with the altered ...read more
Shashank Yadav
1y
Planning for this issue and resolve.
Help your peers!
Add answer anonymously...
Stay ahead in your career. Get AmbitionBox app
Helping over 1 Crore job seekers every month in choosing their right fit company
65 L+
Reviews
4 L+
Interviews
4 Cr+
Salaries
1 Cr+
Users/Month
Contribute to help millions
Get AmbitionBox app