Distances in Planar Graphs are Almost for Free!
Abstract
We prove that, up to subpolynomial or polylogarithmic factors, there is no tradeoff between preprocessing time, query time, and size of exact distance oracles for planar graphs. Namely, we show how given an n-vertex weighted directed planar graph G, one can compute in n1+o(1) time and space a representation of G from which one can extract the exact distance between any two vertices of G in 2+o(1)(n) time. Previously, it was only known how to construct oracles with these space and query time in n3/2+o(1) time [STOC 2019, SODA 2021, JACM 2023]. We show how to construct these oracles in n1+o(1) time.
Turn this paper into a full lesson
ArcXiv compiles a staged curriculum from this paper: 8-12 lessons across beginner → advanced, synthesised section guides, visuals, flashcards, a quiz, exercises, and on-demand deep dives per section. Grounded in the abstract, never invented.