Skip to content
UPEEC

Hamiltonian Paths

A path visiting every vertex exactly once — NP-complete.

Expert
Comments 0

Solved by bitmask DP in O(2nn2)O(2^n n^2) for small nn; related to the travelling salesman problem.

Spotted a mistake or want to add detail? Suggest an improvement — Content Contributors' edits are reviewed by editors before they go live.

Discussion (0)

Sign in or join free to ask questions and discuss this topic.