English

Weighted $k$-Path and Other Problems in Almost $O^*(2^k)$ Deterministic Time via Dynamic Representative Sets

Data Structures and Algorithms 2025-12-10 v1

Abstract

We present a data structure that we call a Dynamic Representative Set. In its most basic form, it is given two parameters 0<k<n0< k < n and allows us to maintain a representation of a family F\mathcal{F} of subsets of {1,,n}\{1,\ldots,n\}. It supports basic update operations (unioning of two families, element convolution) and a query operation that determines for a set B{1,,n}B \subseteq \{1,\ldots,n\} whether there is a set AFA \in \mathcal{F} of size at most kBk-|B| such that AA and BB are disjoint. After 2k+O(klog2k)nlogn2^{k+O(\sqrt{k}\log^2k)}n \log n preprocessing time, all operations use 2k+O(klog2k)logn2^{k+O(\sqrt{k}\log^2k)}\log n time. Our data structure has many algorithmic consequences that improve over previous works. One application is a deterministic algorithm for the Weighted Directed kk-Path problem, one of the central problems in parameterized complexity. Our algorithm takes as input an nn-vertex directed graph G=(V,E)G=(V,E) with edge lengths and an integer kk, and it outputs the minimum edge length of a path on kk vertices in 2k+O(klog2k)(n+m)logn2^{k+O(\sqrt{k}\log^2k)}(n+m)\log n time (in the word RAM model where weights fit into a single word). Modulo the lower order term 2O(klog2k)2^{O(\sqrt{k}\log^2k)}, this answers a question that has been repeatedly posed as a major open problem in the field.

Keywords

Cite

@article{arxiv.2512.08583,
  title  = {Weighted $k$-Path and Other Problems in Almost $O^*(2^k)$ Deterministic Time via Dynamic Representative Sets},
  author = {Jesper Nederlof},
  journal= {arXiv preprint arXiv:2512.08583},
  year   = {2025}
}

Comments

22 pages, to appear at FOCS 2025 (online video available at FOCS youtube channel)

R2 v1 2026-07-01T08:16:57.669Z