GATE 2025 CS (CS2) – Question 10
The diagram below shows a river system consisting of 7 segments, marked P, Q, R, S, T, U, and V. It splits the land into 5 zones, marked Z1, Z2, Z3, Z4, and Z5. We need to connect these zones using the least number of bridges. Out of the following options, which one is correct?
Note: The figure shown is representative.

Practise this question in The GATE Grind →
Show answer and explanation
Correct answer: (C) Bridges on Q, R, T, and V
Explanation
Connecting 5 zones needs at least 4 bridges forming a spanning tree. Options A and B leave Z4 disconnected, and D uses 5 bridges. Q(Z1-Z3), R(Z2-Z3), T(Z3-Z5), V(Z3-Z4) connect all zones with 4 bridges.