3 ms·Those are some interesting ideas, thanks! I hadn't thought about trying to apply minimum-cut to the problem!by kragen 4y agoThose are some interesting ideas, thanks! I hadn't thought about trying to apply minimum-cut to the problem!