in Algorithms retagged by
753 views
0 votes
0 votes

consider the following graph  in which x represents the number of minimum cost spanning tree and y represents the number of 2nd minimum cost spanning tree.which of the following represents $\left | 2^{x}-2^{y} \right |$?

 

i am getting x=27

but they have given x=9 pls tell me why my approach is wrong for x??( i already searched but didnt find duplicate of this question thats why posted it)

see my approach for x (number of minimum spanning tree):-

we have to take both the edges with wt =1 right,

now for all the edges with weight 2 we have option as follows:-

 

for the edges marked with 1 on left side i can choose any of three pairs given at right side ;

similarly for the edges marked with 2 on left side i can choose any of three pairs given at right side ;

similarly for the edges marked with 3 on left side i can choose any of three pairs given at right side ;

total ways =3*3*3 = 27

number of minimum spanning tree = 27??

isnt this correct??

pls someone help!!

in Algorithms retagged by
753 views

4 Comments

oh yes,u are correct!!

shhh, i dont know when will  i stop committing such mistakes!!
0
0
Don't worry, We all do alot but we always learn from those mistakes.. :)
1
1
yes!

i hope that we dont do such kind og mistakes in gate19
0
0

Please log in or register to answer this question.

Related questions