hamiltonian Algorithm

In the mathematical field of graph theory, a Hamiltonian path (or traceable path) is a path in an undirected or directed graph that visits each vertex precisely once. determine whether such paths and cycles exist in graphs is the Hamiltonian path problem, which is NP-complete.

hamiltonian source code, pseudocode and analysis