arXiv:2611.11476cs.CCNov 2026

Manuscript Offprint

arXiv:2611.11476

On the Complexity of Extending Prescribed Linear Forests to Hamiltonian Cycles in Hypercubes

Huazhong Lü, Tingzeng Wu

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Let QnQ_n be the nn-dimensional hypercube, and let P⊆E(Qn)P\subseteq E(Q_n) be a set of prescribed edges. It is known that, for n≥2n\ge 2, every such set PP with ∣P∣≤2n−3|P|\leq 2n-3 whose edges form a linear forest is contained in a Hamiltonian cycle of QnQ_n. This bound is sharp for general linear forests. The computational complexity of deciding whether a prescribed edge set of a hypercube can be extended to a Hamiltonian cycle was posed as an open question by Dvořák [SIAM J. Discrete Math. 19 (2005) 135--144]. We prove that the problem is NP-complete even when the prescribed edges form a spanning linear forest with no isolated vertices. We give a polynomial-time reduction from a restricted 3-SAT problem, using local spanning path-forest gadgets for variables and clauses that are uniformly embedded in the hypercube. The same reduction therefore establishes NP-hardness of two versions of Hamiltonian-cycle extension problems for general prescribed edge sets.

A PDF page turning into lines of clean text

Preparing the full text

It will appear here by itself. You can read the abstract meanwhile.