GATE Computer ScienceHardGATE CS (PYQ pattern)

Seven workers w₀…w₆ can do the jobs j₀…j₅: w₀ ∈ {j₀, j₁}, w₁ ∈ {j₀, j₁}, w₂ ∈ {j₀, j₁, j₂}, w₃ ∈ {j₂, j₃}, w₄ ∈ {j₃, j₄}, w₅ ∈ {j₃, j₄}, w₆ ∈ {j₄, j₅}. What is the size of a maximum matching (assignment of distinct jobs)?

  1. A. 7
  2. B. 5
  3. C. 6
  4. D. 4

Correct answer: C. 6

There are only 6 jobs, so at most 6; augmenting-path search finds a matching of size 6. By König this also equals the minimum vertex cover.

More Discrete Mathematics questions

Exams that ask this topic