Karger’s random contraction

Look for a way to split a network in two by removing as few roads as possible. The algorithm makes random choices, so several tries give you a better chance of finding the smallest cut.

Choose a random edge joining distinct groups and contract its endpoints. The edges between the final two groups form a cut. A single trial need not find the minimum cut.

A trial takes O(V(V + E)) here, apart from rejection sampling. A shared link preserves the draw.