recategorized by
2,801 views
11 votes
11 votes

Let $n\geq 3,$ and let $G$ be a simple, connected, undirected graph with the same number $n$ of vertices and edges. Each edge of  $G$ has a distinct real weight associated with it. Let $T$ be the minimum weight spanning tree of $G.$ Which of the following statements is NOT ALWAYS TRUE ?

  1. The minimum weight edge of $G$ is in $T.$
  2. The maximum weight edge of $G$ is not in $T.$
  3. $G$ has a unique cycle $C$ and the minimum weight edge of $C$ is also in $T.$
  4. $G$ has a unique cycle $C$ and the maximum weight edge of $C$ is not in $T.$
  5. $T$ can be found in $O(n)$ time from the adjacency list representation of $G.$
recategorized by

3 Answers

Best answer
10 votes
10 votes

Take 2 Random graph with same number of vertices and edges:

Now check option one by one:

  1. The minimum weight edge of $G$ is in $T.$ Always true
  2. The maximum weight edge of $G$ is not in $T.$ True in 1st graph but false in 2nd graph Maximum weight edge will be in $T$ if it is not part of the cycle.
  3. $G$ has a unique cycle $C$ and the minimum weight edge of $C$ is also in $T.$ Always true
  4. $G$ has a unique cycle $C$ and the maximum weight edge of $C$ is not in $T.$ Always true
  5. $T$ can be found in $O(n)$ time from the adjacency list representation of $G.$ Always true. The given graph is actually a tree with one extra edge. So, using BFS we can find the cycle in the graph and just eliminate the maximum edge weight in it. Time complexity will be $O(n).$

Hence, B is the answer.

edited by
6 votes
6 votes

Option b

If the graph contains bridge with maximum weight.

Then we must include it .

1 votes
1 votes

Can Anyone explain how D is always TRUE?

Answer:

Related questions

9 votes
9 votes
2 answers
1
Arjun asked Dec 10, 2017
2,612 views
How many distinct minimum weight spanning trees does the following undirected, weighted graph have ?$1$$2$$4$$6$$8$