GATE Computer ScienceVery hardGATE CS
A flow network has directed edges (capacity): s→a 4, s→b 3, a→b 2, a→c 2, b→c 2, b→d 3, c→t 4, d→t 2, c→d 1. Let F be the maximum s–t flow value and M the number of distinct minimum s–t cuts (as vertex partitions (S, T) with s ∈ S, t ∈ T). What is (F, M)?
- A. (6, 1)
- B. (6, 2)
- C. (7, 2)
- D. (6, 3)
Correct answer: B. (6, 2)
The minimum cut capacity, found by enumerating all 16 vertex sets S containing s but not t, is 6, and by max-flow min-cut F = 6. Exactly two sets S attain 6, so M = 2.
More Algorithms questions
- For the Petersen graph (10 vertices, 15 edges, 3-regular, independence number 4), let VC be the size of a minimum vertex cover and MM the…
- Binary insertion sort sorts 10 distinct elements. It inserts the k-th element into the sorted prefix of k − 1 elements by binary search…
- A sorted array holds 1000 distinct elements and binary search (one three-way comparison per probe) is applied. What is the worst-case…
- What is the asymptotic solution of T(n) = 3T(n/2) + n² with T(1) = 1?
- Selection sort (find the minimum of the unsorted part and exchange it with the first unsorted position, skipping the exchange when the…
- How many inversions (pairs i < j with A[i] > A[j]) does the array [8, 4, 2, 1, 7, 3, 6, 5] have?