Faster Algorithms for $(2k-1)$-Stretch Distance Oracles
Abstract
Let be an undirected -vertices -edges graph with non-negative edge weights. In this paper, we present three new algorithms for constructing a -stretch distance oracle with space. The first algorithm runs in time, and improves upon the time of Thorup and Zwick [STOC 2001, JACM 2005] and Baswana and Kavitha [FOCS 2006, SICOMP 2010], for every and . This yields the first truly subquadratic time construction for every , and nearly resolves the open problem posed by Wulff-Nilsen [SODA 2012] on the existence of such constructions. The two other algorithms have a running time of the form , which is near linear in if , and therefore optimal in such graphs. One algorithm runs in -time, which improves upon the -time algorithm of Baswana and Kavitha [FOCS 2006, SICOMP 2010], for , and upon the -time algorithm of Wulff-Nilsen [SODA 2012], for every . This is the first linear time algorithm for constructing a -stretch distance oracle and a -stretch distance oracle, for graphs with truly subquadratic density.\footnote{with for some .} The other algorithm runs in time, (and hence relevant only for ), and improves upon the time algorithm of Wulff-Nilsen [SODA 2012] (which is relevant only for ). ...
Cite
@article{arxiv.2507.06721,
title = {Faster Algorithms for $(2k-1)$-Stretch Distance Oracles},
author = {Avi Kadria and Liam Roditty},
journal= {arXiv preprint arXiv:2507.06721},
year = {2026}
}