English

An Asymptotically Fast Polynomial Space Algorithm for Hamiltonicity Detection in Sparse Directed Graphs

Data Structures and Algorithms 2020-09-25 v1

Abstract

We present a polynomial space Monte Carlo algorithm that given a directed graph on nn vertices and average outdegree δ\delta, detects if the graph has a Hamiltonian cycle in 2nΩ(nδ)2^{n-\Omega(\frac{n}{\delta})} time. This asymptotic scaling of the savings in the running time matches the fastest known exponential space algorithm by Bj\"orklund and Williams ICALP 2019. By comparison, the previously best polynomial space algorithm by Kowalik and Majewski IPEC 2020 guarantees a 2nΩ(n2δ)2^{n-\Omega(\frac{n}{2^\delta})} time bound. Our algorithm combines for the first time the idea of obtaining a fingerprint of the presence of a Hamiltonian cycle through an inclusion--exclusion summation over the Laplacian of the graph from Bj\"orklund, Kaski, and Koutis ICALP 2017, with the idea of sieving for the non-zero terms in an inclusion--exclusion summation by listing solutions to systems of linear equations over Z2\mathbb{Z}_2 from Bj\"orklund and Husfeldt FOCS 2013.

Keywords

Cite

@article{arxiv.2009.11780,
  title  = {An Asymptotically Fast Polynomial Space Algorithm for Hamiltonicity Detection in Sparse Directed Graphs},
  author = {Andreas Björklund},
  journal= {arXiv preprint arXiv:2009.11780},
  year   = {2020}
}
R2 v1 2026-06-23T18:46:21.206Z