A K-colouring of an undirected graph G = (V, E) is a function c : V → {0, 1, …, K − 1} such that c(u) ≠ c(v) for every edge (u, v) ∈ E. For a 2-colourable graph G, which of the following is not correct?
Pick an option to check yourself, or open the answer below.
Show answer & explanation
Correct answer: C. G has cycles of odd length
Explanation
2-colourable ⇔ bipartite ⇔ no odd cycle. So 'G has cycles of odd length' is the incorrect statement.
More Data Structures and Algorithms questions
- Consider a singly linked list. What is the worst case time complexity of the best-known algorithm to delete the node a, pointer to this nod…
- The second smallest of n elements can be found with ____________ comparisons in the worst case.
- Consider the pseudo-code fragment, where m is a non-negative integer that has been initialized: p = 0; k = 0; while (k < m) p = p + 2^k; k…
- The solution of the recurrence relation T(m) = T(3 m/4) + 1 is :
- Consider the array A=<4, 1, 3, 2, 16, 9, 10, 14, 8, 7>. After building heap from the array A, the depth of the heap and the right child of…
- Which of the following algorithms solves the single-source shortest paths ?