Data Structures19 sections · 729 units
Open in Course

Application: Max Flow

Finding augmenting paths

Link-Cut trees accelerate max flow algorithms:

In Dinic's algorithm: Find blocking flow faster by maintaining the level graph as a Link-Cut tree.

In Push-Relabel: Track excess flow routing through dynamic tree structure.

Sleator-Tarjan dynamic trees were originally invented for max flow, achieving O(mnlogn)O(mn \log n) for flow in networks with mm edges. Here's the trick: augmenting path operations become O(logn)O(\log n) instead of O(n)O(n) when using Link-Cut trees for the residual graph structure.