GATE Computer ScienceVery hardGATE CS

How many perfect matchings does the 4-dimensional hypercube graph Q₄ (16 vertices, two vertices adjacent when their 4-bit labels differ in one bit) have?

  1. A. 256
  2. B. 216
  3. C. 272
  4. D. 288

Correct answer: C. 272

Counting perfect matchings with a bitmask dynamic programme over the 16 vertices (always match the lowest uncovered vertex) gives 272. Q₂ has 2 and Q₃ has 9 perfect matchings, and Q₄ has 272.

More Discrete Mathematics questions

Exams that ask this topic