Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
eutectic
· 2y ago · 0 comments
Also, the problem is to find a global min-cut, which requires all-pairs max flow.
Comments
[–]
gloria_mundi
2y ago
Not actually all-pairs max flow, you can fix the source and consider all possible sinks. In the AoC problem we also know that the min-cut is 3, so we can abort the flow algorithm as soon as we have found a 4-flow.