πŸ“Š Design and Analysis of Algorithms
Q. Are trees bipartite?
  • (A) yes
  • (B) no
  • (C) yes if it has even number of vertices
  • (D) no if it has odd number of vertices
πŸ’¬ Discuss
βœ… Correct Answer: (A) yes

Explanation: condition needed is that there should not be an odd cycle. but in a tree there are no cycles at all. hence it is bipartite.


Explanation by: Mr. Dubey
condition needed is that there should not be an odd cycle. but in a tree there are no cycles at all. hence it is bipartite.

πŸ’¬ Discussion

πŸ“Š Question Analytics

πŸ‘οΈ
714
Total Visits
πŸ“½οΈ
3 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
81%
Success Rate