What is the time complexity for finding a Hamiltonian path for a graph having N vertices (using permutation)?
(a) O(N!)
(b) O(N! * N)
(c) O(log N)
(d) O(N)
This question was addressed to me during an interview.
My question is taken from Checksum, Complexity Classes & NP Complete Problems in section Checksum, Complexity Classes & NP Complete Problems of Data Structures & Algorithms II