Let be a graph. If there is a cycle visiting all vertices exactly once, we say that the cycle is a Hamiltonian cycle.