Open In App

GATE | GATE-CS-2002 | Question 4

Like Article
Like
Save Article
Save
Share
Report issue
Report

The minimum number of colours required to colour the vertices of a cycle with η nodes in such a way that no two adjacent nodes have the same colour is
(A) 2
(B) 3
(C) 4
(D) n – 2⌊n/2⌋ + 2


Answer: (D)

Explanation: We need 3 colors to color a odd cycle and 2 colors to color an even cycle.

Quiz of this Question


Last Updated : 28 Jun, 2021
Like Article
Save Article
Previous
Next
Share your thoughts in the comments
Similar Reads