in Algorithms edited by
1,804 views
1 vote
1 vote

Let $\text{G}$ be an undirected connected graph in which every edge has a positive integer weight. Suppose that every spanning tree in $\text{G}$ has even weight. Which of the following statements is/are TRUE for every such graph $\text{G}$?

  1. All edges in $\text{G}$ have even weight
  2. All edges in $\text{G}$ have even weight $\mathbf{O R}$ all edges in $\text{G}$ have odd weight
  3. In each cycle $\text{C}$ in $\text{G}$, all edges in $\text{C}$ have even weight
  4. In each cycle $\text{C}$ in $\text{G}$, either all edges in $\text{C}$ have even weight $\text{OR}$ all edges in $\text{C}$ have odd weight
in Algorithms edited by
by
1.8k views

2 Answers

1 vote
1 vote

Note that the given question is about Spanning Tree, Not about Minimum Spanning Tree.

Detailed Video Explanation: Spanning Tree Even Weight - GATE CSE 2024

Find counter-examples for option A,B,C in the above video solution.

0 votes
0 votes

I think the best approach would be to take counter examples for each case.

P.S. there may be better ways to solve this

Answer:

Related questions