The Hamiltonian Cycle Problem (HAMILTONIAN) takes an input of:

  • an undirected graph

It provides an output of if and only if contains a Hamiltonian cycle.