GATE Computer ScienceVery hardGATE CS (PYQ pattern)
In K₃,₅ every edge has length 1. What is the length of a shortest closed walk that traverses every edge at least once (Chinese postman tour)?
- A. 19
- B. 20
- C. 23
- D. 18
Correct answer: B. 20
All 8 vertices have odd degree (5 or 3). Duplicate a minimum-weight pairing of them: pair the 3 degree-5 vertices with 3 degree-3 vertices (distance 1 each) and the remaining two degree-3 vertices together (distance 2): extra 5. Tour length 15 + 5 = 20.
More Discrete Mathematics questions
- A Dyck path of semilength 6 has 6 up-steps and 6 down-steps and never goes below the axis. How many such paths have no peak at height 1?
- In how many ways can 15 be written as a sum of exactly 4 DISTINCT positive integers (order does not matter)?
- Binary strings of length 10 are written around a circle, and two are considered the same if one is a rotation of the other. How many such…
- How many permutations π of {1, …, 7} with π(7) = 7 have exactly 2 descents (positions i with πᵢ > πᵢ₊₁)?
- In how many ways can 6 non-attacking rooks be placed on a 6 × 6 board so that none stands on either main diagonal?
- In how many ways can a 2 × 6 board of unit squares be coloured with 3 colours so that squares sharing an edge get different colours?