1.

Given that a graph contains no odd cycle. Is it enough to tell that it is bipartite?(a) Yes(b) NoThe question was asked at a job interview.Question is from Bipartite Graphs in section Bipartite Graphs of Data Structures & Algorithms II

Answer»

Correct OPTION is (a) Yes

Explanation: It is REQUIRED that the graph is CONNECTED also. If it is not then it cannot be CALLED a bipartite graph.



Discussion

No Comment Found

Related InterviewSolutions