GATE Computer ScienceVery hardGATE CS (PYQ pattern)

A flow network has edges s→a 10, s→b 8, a→c 4, a→d 3, b→d 5, b→c 2, a→b 3, c→t 9, d→t 8; its maximum flow value is 14. How many different minimum s–t cuts does it have (partitions (S, T) with s ∈ S, t ∈ T whose forward capacity is 14)?

  1. A. 1
  2. B. 3
  3. C. 2
  4. D. 4

Correct answer: C. 2

Checking all 16 choices of S ⊇ {s}: S = {s, a, b} has forward edges a→c 4, a→d 3, b→d 5, b→c 2 = 14, and S = {s, a, b, d} has a→c 4, b→c 2, d→t 8 = 14. Every other S exceeds 14 (e.g. {s} gives 18, {s, a, b, c, d} gives 17). So there are exactly 2 minimum cuts.

More Algorithms questions

Exams that ask this topic