

InterviewSolution
Saved Bookmarks
1. |
Hamilton Circuit problem is a special case of ____________(a) travelling salesman problem(b) halting problem(c) hitting set(d) none of the mentionedI had been asked this question during an online interview.This intriguing question comes from Node-Cover Problem, Hamilton Circuit Problem topic in section Intractable Problems of Automata Theory |
Answer» RIGHT option is (a) TRAVELLING SALESMAN problem Explanation: Hamilton circuit problem is a special case of travelling salesman problem, OBTAINED by setting the distance between two cities to one if they are adjacent and two otherwise, and verifying that the total distance travelled is EQUAL to n (if so, the route is a Hamiltonian circuit; if there is no Hamiltonian circuit then the shortest route will be longer). |
|