GATE CSE 2023 Q55: Greedy vertex colouring: properness and colour count
- Engineering Mathematics
- 2 marks
- MSQ
- No negative marking
Question
Let be a simple, finite, undirected graph with vertex set . Let denote the maximum degree of and let denote the set of all possible colors. Color the vertices of using the following greedy strategy:
for i = 1, ..., n
color(v_i) ← min{ j ∈ N : no neighbour of v_i is colored j }Which of the following statements is/are TRUE?
Try it: multiple select: one or more correct options
Show answer and explanation
Answer: A, B (official GATE 2023 final answer key)
Concept used: Greedy colouring: a vertex with at most neighbours always finds a free colour among .
First step: Test C and D on small graphs, e.g. a triangle (, needs 3 colours) or a path coloured in a bad order.
Full step-by-step solution
Detailed working, common mistakes and linked mock tests will be available with a free GATEiit account. Log-in is coming soon.
Share this question
Source: official GATE 2023 CS question paper and final answer key, organised by IIT Kanpur. Question paper · Answer key
More Engineering Mathematics PYQs
- 2026 Session 1 · Q11Pólya urn: equal red and blue after two steps
- 2026 Session 1 · Q124×4 binary matrices with even parity in every row and column
- 2026 Session 1 · Q13Maximum multiplicity of an eigenvalue of an n×n real matrix
- 2026 Session 1 · Q20Matrix with e2 in its null space: determinant and rank
- 2026 Session 1 · Q32Continuity at 0 of c1·e^x − c2·ln(1/x)
- 2026 Session 1 · Q46Extrema and smoothness of (|x|/2 − x)(x − |x|/2)