retagged by
1,716 views
0 votes
0 votes
What we do if graph is complete with 5 vertices and weight are

1,2,3,4,5,6,7,8,9 and 10.

than find maximum possible weight that a minimum weight spanning tree of G have..???
retagged by

1 Answer

1 votes
1 votes

Given: A complete graph with 5 vertices and weights are 1,2,3,4,...,9,10.

Key point is: maximum possible weight that a minimum weight spanning tree of G

now, try to understand the meaning of above line, we have to find a MST but possible max weight(w).

So first consider below graph with 3 vertices, one edge with w=1 second w=2.

Now important point is, we have to consider max weight so we will take edge with w=3 in cycle.

Now, we have to add anyhow next to any vertex from 3 and it'll be consider to MST

Now, Similarly, edge with w=5 and w=6 can add to above graph to make a cycle

So, we will go for w=7

Finally, maximum possible weight that a minimum weight spanning tree of G= 1+2+4+7= 14

 

Answer:

Related questions

463
views
1 answers
0 votes
Ray Tomlinson asked Aug 8, 2023
463 views
pls give all possible sequences possible for prims algo
526
views
0 answers
0 votes
Gate Fever asked Dec 2, 2018
526 views
consider a graph G given below, if the edges are having weight 1,2,3,4,5,6,7,8,9,10; then maximum possible weight a minimum weight spanning tree of ... to me can have weight 11i already searched but didnt find duplicate of this question !
695
views
1 answers
2 votes
Sambhrant Maurya asked Aug 13, 2018
695 views
How many edge disjoint spanning trees are possible for a undirected complete connected graph of n vertices?
609
views
1 answers
2 votes
dileswar sahu asked Jul 19, 2016
609 views
Consider the following statements:Let T be a minimum spanning tree of a graph G. Then for any two vertices u and v the path from u to v in T is the ... IIboth I and IINone of theseplz give one one counter example of both option I & II