Papers
Topics
Authors
Recent
Search
2000 character limit reached

The Complexity of Hamiltonian Cycles and Paths with Prescribed Walk Lengths

Published 13 Oct 2026 in cs.DS | (2610.18300v1)

Abstract: Fix a set SS of positive integers. An SS-Hamiltonian cycle is a cyclic ordering of all vertices of a graph such that each consecutive pair is joined by a walk whose length belongs to SS. We study the complexity of deciding whether an input graph admits such an ordering, together with the corresponding path variants with prescribed or unrestricted endpoints. We complete the complexity classification for undirected graphs. In particular, we prove NP-completeness for every finite nonempty set of odd lengths, resolving an open problem posed by Amarilli, Lombardo, and Monet (WG 2026). For digraphs, all three problems are NP-complete for every fixed finite nonempty SS and admit linear-time algorithms when SS is cofinite. For other fixed infinite sets SS, we establish NP-complete and undecidable cases, with undecidability occurring even when SS is recursive.

Summary

No one has generated a summary of this paper yet.

Paper to Video (Beta)

No one has generated a video about this paper yet.

Whiteboard

No one has generated a whiteboard explanation for this paper yet.

Continue Learning

We haven't generated follow-up questions for this paper yet.

Tweets

Sign up for free to view the 1 tweet with 4 likes about this paper.