1.

Travelling sales man problem belongs to which of the class?(a) P(b) NP(c) Linear(d) None of the mentionedThe question was asked in an online quiz.I'd like to ask this question from Non Deterministic Polynomial Time topic in division Intractable Problems of Automata Theory

Answer» RIGHT answer is (b) NP

For explanation: Travelling Salesman Problem: GIVEN an input matrix of DISTANCES between N CITIES, this problem is to determine if there is a route visiting all cities with total distance less than k.


Discussion

No Comment Found

Related InterviewSolutions