Search found 3 matches
- Fri Oct 25, 2013 12:19 am
- Forum: Volume 9 (900-999)
- Topic: 908 - Re-connecting Computer Sites
- Replies: 21
- Views: 13011
Re: 908-Re-connecting Computer Sites
What I meant was can this question be done by using the previously given MST and modifying it according to the new edges given to us ?That we don't use the information about all the edges
- Thu Oct 24, 2013 8:33 am
- Forum: Volume 9 (900-999)
- Topic: 908 - Re-connecting Computer Sites
- Replies: 21
- Views: 13011
Re: 908-Re-connecting Computer Sites
When I add a edge to already formed MST it creates exactly 1 cycle. Traversing that cycle I need to find the maximum weight edge and delete it. But that means I need to implement a union-find-delete instead of just union-find. Is that correct or am I missing something ?
- Wed Oct 23, 2013 8:07 pm
- Forum: Volume 9 (900-999)
- Topic: 908 - Re-connecting Computer Sites
- Replies: 21
- Views: 13011
Re: 908-Re-connecting Computer Sites
Can this question be done without using a priority queue and just using a disjoint-set data structure ?