All mock tests are FREE till 31 December — register to save your progress

E is the number of edges in the graph and f is maximum flow in the graph. When the capacities are integers, the runtime of Ford-Fulberson algorithm is bounded by :

Pick an option to check yourself, or open the answer below.

Show answer & explanation

Correct answer: A. O(E · f)

Explanation

With integer capacities each augmentation raises the flow by at least 1, and each costs O(E): O(E · f).

More Data Structures and Algorithms questions