Gomory–Hu Algorithm