2

A $k$-Hamiltonian Path is an Hamiltonian Path where each node (but the last $k$ nodes on the path) is connected to his $k$ successors, and the last $k$ nodes are connected to all of their successors.

This is an Hamiltonian Path: enter image description here

This is a 3-Hamiltonian Path: enter image description here

How would you prove that searching for a k-Hamiltonian Path is also NP-hard (if it is)?

Luca
  • 133
  • 3

1 Answers1

3

Any problem in NP that contains an NP-complete problem as a special case is NP-complete.

Any algorithm that can solve the $k$-Hamiltonian path problem must, in particular, be able to solve the case $k=1$, which is just an ordinary Hamiltonian path. We can obviously verify a claimed $k$-Hamiltonian path in polynomial time, so the problem remains in NP. Therefore, $k$-Hamiltonian path is NP-complete.

David Richerby
  • 82,470
  • 26
  • 145
  • 239