1.

Which of the following algorithm can be used to solve the Hamiltonian path problem efficiently?(a) branch and bound(b) iterative improvement(c) divide and conquer(d) greedy algorithmThe question was posed to me in exam.The doubt is from Checksum, Complexity Classes & NP Complete Problems topic in chapter Checksum, Complexity Classes & NP Complete Problems of Data Structures & Algorithms II

Answer»

Correct answer is (a) branch and BOUND

For EXPLANATION: The Hamiltonian path problem can be SOLVED EFFICIENTLY USING branch and bound approach. It can also be solved using a backtracking approach.



Discussion

No Comment Found

Related InterviewSolutions