Rare
 0/5

Maximum Flow

Author: Benjamin Qi

Introduces maximum flow as well as flow with lower bounds.

StatusSourceProblem NameDifficultyTags
CSESEasy
Show TagsMax Flow

Resources

Flows

StatusSourceProblem NameDifficultyTags
CSESEasy
Show TagsMax Flow

Bipartite Matching

StatusSourceProblem NameDifficultyTags
CSESEasy
Show TagsMax Flow

Dinic's Algorithm

StatusSourceProblem NameDifficultyTags
SPOJEasy
YSEasy

Hopcroft-Karp Bipartite Matching?

Optional: Faster Flow

There exist faster flow algorithms such as Push-Relabel. Also see the following blog post:

However, the standard implementation of Dinic's is (almost) always fast enough on reasonable problems.

Implementation

Resources
Benq

Breaking Flows

When the constraints are too high ...

Module Progress: