Related Articles

Related Articles

GATE | GATE-CS-2014-(Set-2) | Question 65
  • Last Updated : 19 Nov, 2018

The number of distinct minimum spanning trees for the weighted graph below is ____



(A) 4
(B) 5
(C) 6
(D) 7


Answer: (C)

Explanation: Below diagram shows a minimum spanning tree. Highlighted (in green) are the edges picked to make the MST.

MST2

In the right side of MST, we could either pick edge ‘a’ or ‘b’. In the left side, we could either pick ‘c’ or ‘d’ or ‘e’ in MST.

There are 2 options for one edge to be picked and 3 options for another edge to be picked. Therefore, total 2*3 possible MSTs.


Quiz of this Question

sudo-gate-course

My Personal Notes arrow_drop_up
Recommended Articles
Page :