Dynamic Detours
Abstract
Fix a parameter . We give dynamic data structures that for a fully dynamic undirected graph , updated over time by edge insertions and edge deletions, can answer the following queries: - Long -path: Given , is there a path from to of length at least ? - Long -detour: Given , is there a path from to of length at least ? - Even/odd -path: Given , is there a path from to of even/odd length? The amortized time of executing an update or answering a query is in the first two cases, and in the last, where is the number of vertices of . The first result is in sharp contrast with known conditional lower bounds for reporting paths of length at most . Specifically, there is no data structure supporting queries about -paths of length at most two in time unless the Triangle Conjecture fails. Our main technical contribution is a mechanism of "delayed edge insertion" that works locally on the level of biconnected components.
Keywords
Cite
@article{arxiv.2605.03225,
title = {Dynamic Detours},
author = {Daniel Dadush and Michał Pilipczuk and Amadeus Reinald and Marek Sokołowski and Michał Włodarczyk},
journal= {arXiv preprint arXiv:2605.03225},
year = {2026}
}
Comments
17 pages