1. Computer Science Engineering (CSE)
  2. Design and Analysis of Algorithms
  3. Consider the graph M with 3 vertices. It...
Q.

Consider the graph M with 3 vertices. Its adjacency matrix is shown below. Which of the following is true?

Consider the graph M with 3 vertices. Its adjacency matrix is shown below. Which of the following is true?
A. graph m has no minimum spanning tree
B. graph m has a unique minimum spanning trees of cost 2
C. graph m has 3 distinct minimum spanning trees, each of cost 2
D. graph m has 3 spanning trees of different costs
Answer» C. graph m has 3 distinct minimum spanning trees, each of cost 2
Explanation: here all non-diagonal elements in the adjacency matrix are 1. so, every vertex is connected every other vertex of the graph. and, so graph m has 3 distinct minimum spanning trees.

Discussion