GATE CS 2023 · Question 55 · Engineering Mathematics · Multiple select (MSQ) · 2 marks · no negative marks

Let G be a simple, finite, undirected graph with vertex set {v₁, …, vₙ}. Let Δ(G) denote the maximum degree of G and let ℕ = {1, 2, …} denote the set of all possible colors. Color the vertices of G using the following greedy strategy:
for i = 1, …, n
color(vᵢ) ← min{j ∈ ℕ : no neighbour of vᵢ is colored j}
Which of the following statements is/are TRUE?

  1. (A) This procedure results in a proper vertex coloring of G.
  2. (B) The number of colors used is at most Δ(G) + 1.
  3. (C) The number of colors used is at most Δ(G).
  4. (D) The number of colors used is equal to the chromatic number of G.
Answer

Answer (A), (B)

Answer from the official GATE CS 2023 answer key.

The step-by-step solution, where available, is part of GATE CS Pro. See what Pro includes