Data Structures & AlgorithmsVery hardProduct-company placement

What is the maximum flow from S to T in the network with directed capacities A→C (13), A→T (8), B→C (10), B→T (10), C→T (3), S→B (4), S→C (15), S→T (11)?

  1. A. 30
  2. B. 18
  3. C. 32
  4. D. 21

Correct answer: B. 18

Augment along residual paths until none remains; the value 18 equals the capacity of a minimum S–T cut (max-flow min-cut). The total out of S (30) and into T (32) are only upper bounds.

More Trees, Graphs, Recursion and Dynamic Programming questions

Exams that ask this topic