Papers
Topics
Authors
Recent
Search
2000 character limit reached

O~\tilde{O}ptimal Algorithm for 2-Approximate All Pair Shortest Paths -- almost

Published 21 Jul 2026 in cs.DS | (2607.18714v1)

Abstract: Given an undirected, unweighted graph GG, we aim to compute a 2-approximation of all-pairs shortest paths (APSP). This problem admits a natural lower bound of Ω(n<sup>2)Ω(n<sup>2) since the output size is Θ(n<sup>2)Θ(n<sup>2). A central goal in this area is to achieve a running time of O(n<sup>2)O(n<sup>2). Dor, Halperin, and Zwick (FOCS 1996, SICOMP 2001) designed an algorithm with a running time of O~(n<sup>2)\tilde{O}(n<sup>2) that guarantees a 2-approximation only for pairs at a distance of at least O(log⁡n)O(\log n). Recently, Gupta (FOCS 2025) improved this bound, handling all pairs at a distance of at least O(log⁡log⁡n)O(\log \log n). We nearly resolve this problem. We design a randomized algorithm that runs in O~(n<sup>2)\tilde{O}(n<sup>2) time and, with high probability, guarantees a 2-approximation for all pairs at distance at least cc, where c≥0c \ge 0 is a constant. Unlike the above two results, which were purely combinatorial, our algorithm combines combinatorial techniques with fast matrix multiplication (FMM).

Summary

No one has generated a summary of this paper yet.

Paper to Video (Beta)

No one has generated a video about this paper yet.

Whiteboard

No one has generated a whiteboard explanation for this paper yet.

Open Problems

We haven't generated a list of open problems mentioned in this paper yet.

Continue Learning

We haven't generated follow-up questions for this paper yet.

Tweets

Sign up for free to view the 1 tweet with 20 likes about this paper.