in Programming in C
1,532 views
1 vote
1 vote
Maximum no of min spanning trees,.... taking a value of x

I answered 2 Is it correct?
in Programming in C
1.5k views

4 Comments

Taking x what i took x eq to 3 and got 2
0
0
They are asking what should be max no of min spanning tree so put x=5
2
2
what if you take value of x is 1.

in this case you will get a mwst(minimum weight spanning tree).
0
0

3 Answers

1 vote
1 vote
I think x is 2. But if we take x as 2, answer is 2. I answered 2 only
by

3 Comments

if it is 5 then we get max number of minimal spanning tree
6
6
Yep i also answered 5.
0
0

yah x=5 ...but we get max sp tree 6....not 4

you can try it

0
0
1 vote
1 vote
question asked not the number of minimum spanning tree but what should be the value of X so that you get maximum no of minimum spanning trees and no doubt it is when x=4 , if you understand algo and minimum spanning tree a little bit better!!!

1 comment

we have to find the value of X(5) or what will be the no of spanning tree(4) for X???
0
0
0 votes
0 votes
They were asking to maximize the no. Of mst by choosing a val of x. So x = 5 will maximize it

1 comment

The question was choosing the x find ghe max no.  Of min spanning tree possible not the value of x so for x=5 answer would be 4.
2
2