1.

Which type of graph has no odd cycle in it?(a) Bipartite(b) Histogram(c) Cartesian(d) PieI have been asked this question during an online interview.This intriguing question originated from Bipartite Graphs topic in chapter Bipartite Graphs of Data Structures & Algorithms II

Answer»

Right OPTION is (a) BIPARTITE

For EXPLANATION: The GRAPH is known as Bipartite if the graph does not contain any odd length cycle in it. Odd length cycle MEANS a cycle with the odd number of vertices in it.



Discussion

No Comment Found

Related InterviewSolutions