1.

The travelling salesman problem can be solved using _________(a) A spanning tree(b) A minimum spanning tree(c) Bellman – Ford algorithm(d) DFS traversalI have been asked this question in class test.The query is from Minimum Spanning Tree topic in division Minimum Spanning Tree of Data Structures & Algorithms II

Answer»

The correct choice is (b) A minimum spanning TREE

To explain: In the travelling salesman problem we have to find the shortest possible ROUTE that visits every CITY exactly once and returns to the starting point for the given a set of cities. So, travelling salesman problem can be solved by CONTRACTING the minimum spanning tree.



Discussion

No Comment Found

Related InterviewSolutions