Karger's algorithm An implementation of the Karger's algorithm for finding a minimum cut in a graph with high probability. image from wikipedia