Algorithms and Data Structures · Senior · Question 52 of 75

Which algorithm finds the maximum flow in a network?

Explanation

It repeatedly finds a shortest augmenting path with BFS and pushes flow along it, in O(V × E²). Max flow also solves bipartite matching, for example assigning tasks to workers.

Further reading

Problem with a question

Algorithms and Data Structures · Senior · question 52

Test yourself

Take the Algorithms and Data Structures · Senior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz