GATE CSE 2019 Q22: Number of Hamiltonian cycles in complete graph Kn, n > 2
- Engineering Mathematics
- 1 mark
- MCQ
- −1/3 if wrong
Syllabus topics: Graphs: connectivity, matching and colouring; Combinatorics: counting, recurrence relations and generating functions
Question
Let be an undirected complete graph on vertices, where . Then, the number of different Hamiltonian cycles in is equal to
Try it: multiple choice: exactly one correct option
Show answer and explanation
Answer: C (or D) (official GATE 2019 final answer key)
Concept used: Counting Hamiltonian cycles in depends on what 'different' means: as edge sets there are (fix a start vertex, divide by the two directions); up to relabelling of vertices all are the same cycle, which is why the official key accepts 1 as well.
First step: Fix one starting vertex, count the orderings of the remaining vertices, and decide whether a cycle and its reverse (and relabellings) count as different.
Full step-by-step solution
Loading…
Answer from the official final answer key. Found a mistake? Use Report issue and we will fix it.
More questions on Graphs: connectivity, matching and colouring
Every PYQ on this topic →Share this question
Source: official GATE 2019 CS question paper and final answer key, organised by IIT Madras. 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)