Question: Somebody proposes the following recursive algorithm to find a minimum spanning tree ( MST ) of a connected undirected graph G = ( V ,

Somebody proposes the following recursive algorithm to find a minimum
spanning tree (MST) of a connected undirected graph G =(V, E) with
edge weights:
First, partition the nodes V into two non-empty sets, S and V \ S, so
that each of the resulting parts of the graph, call them GS and GV \S, is
connected. Second, recursively find a MST TS for the subgraph GS, and
a MST TV \S for the subgraph GV \S. Third, construct from TS and TV \S
a spanning tree for G by choosing from all edges (v, w) in E with v in S
and w in (V \ S), the one of minimum weight.
Justify whether this algorithm always finds a MST of G (for example, by
demonstrating that it resembles Kruskals or Prims algorithms), or give
a counterexample to the proposed algorithm.

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 Databases Questions!