1. Computer Science Engineering (CSE)
  2. Data Structures (DS)
  3. Non Linear Data Structures - Graphs
  4. What would the time complexity to check ...
Q.

What would the time complexity to check if an undirected graph with V vertices and E edges is Bipartite or not given its adjacency matrix?

A. O(E*E)
B. O(V*V)
C. O(E)
D. O(V)
Answer» B. O(V*V)
View all MCQs in:   Data Structures (DS)

Discussion