English

Deterministic Almost-Linear-Time Gomory-Hu Trees

Data Structures and Algorithms 2025-07-29 v1

Abstract

Given an mm-edge, undirected, weighted graph G=(V,E,w)G=(V,E,w), a Gomory-Hu tree TT (Gomory and Hu, 1961) is a tree over the vertex set VV such that all-pairs mincuts in GG are preserved exactly in TT. In this article, we give the first almost-optimal m1+o(1)m^{1+o(1)}-time deterministic algorithm for constructing a Gomory-Hu tree. Prior to our work, the best deterministic algorithm for this problem dated back to the original algorithm of Gomory and Hu that runs in nm1+o(1)nm^{1+o(1)} time (using current maxflow algorithms). In fact, this is the first almost-linear time deterministic algorithm for even simpler problems, such as finding the kk-edge-connected components of a graph. Our new result hinges on two separate and novel components that each introduce a distinct set of de-randomization tools of independent interest: - a deterministic reduction from the all-pairs mincuts problem to the single-souce mincuts problem incurring only subpolynomial overhead, and - a deterministic almost-linear time algorithm for the single-source mincuts problem.

Keywords

Cite

@article{arxiv.2507.20354,
  title  = {Deterministic Almost-Linear-Time Gomory-Hu Trees},
  author = {Amir Abboud and Rasmus Kyng and Jason Li and Debmalya Panigrahi and Maximilian Probst Gutenberg and Thatchaphol Saranurak and Weixuan Yuan and Wuwei Yuan},
  journal= {arXiv preprint arXiv:2507.20354},
  year   = {2025}
}
R2 v1 2026-07-01T04:21:08.587Z