retagged by
3,770 views
29 votes
29 votes

Consider the following undirected connected graph $G$ with weights on its edges as given in the figure below. A minimum spanning tree is a spanning tree of least weight and a maximum spanning tree is one with largest weight. A second best minimum spanning tree whose weight is the smallest among all spanning trees that are not minimum spanning trees in $G$.

Which of the following statements is TRUE in the above graph? (Note that all the edge weights are distinct in the above graph)

  1. There is more than one minimum spanning tree and similarly, there is more than one maximum spanning tree here.
  2. There is a unique minimum spanning tree, however there is more than one maximum spanning tree here.
  3. There is more than one minimum spanning tree, however there is a unique maximum spanning tree here.
  4. There is more than one minimum spanning tree and similarly, there is more than one second-best minimum spanning tree here.
  5. There is unique minimum spanning tree, however there is more than one second-best minimum spanning tree here.
retagged by

2 Answers

Best answer
30 votes
30 votes

In the graph we have all edge weights are distinct so we will get unique minimum and maximum spanning tree.
Each Cycle must exclude maximum weight edge in minimum spanning tree.
Here, we have two cycle of $3$ edges, $a-d-e$ and $c-g-k.$
For second best minimum spanning tree, exclude $a-e$ edge and include $d-e$ edge

Other way for second best minimum spanning tree: exclude $c-g$ edge and include $g-k$ edge.

So, e should be the answer.

edited by
5 votes
5 votes
Since, all the edge weights are distinct, we have a unique minimum weight spanning tree and maximum weight spanning tree.
And we can have more than one second best minimum spanning tree because different combinations of edge may give second largest value.

You can also try finding MinST and MaxST from the given graph.

Hence, option 'e' is only possible.
Answer:

Related questions

1.9k
views
2 answers
17 votes
makhdoom ghaya asked Dec 7, 2015
1,912 views
Consider the following code fragment in the $C$ programming language when run on a non-negative integer $n$.int f (int n) { if (n==0 || n==1) ... $n$ and the optimal running time is polynomial in $n$.The algorithm does not terminate.
3.2k
views
3 answers
22 votes
makhdoom ghaya asked Dec 5, 2015
3,239 views
Consider the following recurrence relation:$T(n)= \begin{cases}2T (\lfloor\sqrt{n}\rfloor)+ \log n & \text{if }n \geq 2 \\ 1& \text{if }n = 1 \end{cases}$Which of the ... is $O(\log^{2} n \cdot \log \log n)$ but not $O(\log^{2} n)$.
5.3k
views
4 answers
35 votes
makhdoom ghaya asked Nov 19, 2015
5,283 views
Consider the following undirected graph with some edge costs missing.Suppose the wavy edges form a Minimum Cost Spanning Tree for $G$. Then, which of the following inequalities NEED NOT hold? ... $(a, d) \geq 4$.cost$(b, c) \geq 4$.
3.0k
views
3 answers
15 votes
makhdoom ghaya asked Oct 24, 2015
3,022 views
Let $G$ be a connected simple graph (no self-loops or parallel edges) on $n\geq 3$ ... present in any maximum weight spanning tree.$G$ has a unique maximum weight spanning tree.