Max Flow, Min Cut & Bipartite Matching
Data Structures & Algorithms · Advanced Graphs · Master · 30 min
Push the most "stuff" through a network of limited pipes with Edmonds-Karp, read the bottleneck off as a minimum cut, and solve matching problems by turning them into flow.
This lesson is part of TuringPath Pro. See plans.
What you will learn
- The flow problem, and why greedy fails
- The residual graph: the undo button
- Edmonds-Karp: always take the shortest path
- Max-flow = min-cut
- Bipartite matching as flow
More in Advanced Graphs
- Bellman-Ford & Floyd-Warshall
- 0-1 BFS & Multi-Source BFS
- Strongly Connected Components
- Bridges & Articulation Points
Previous: Bridges & Articulation Points · Next: LCA & Binary Lifting