Professional KnowledgeHardIBPS SO IT

Which problem is NP-complete?

  1. A. Shortest path with positive weights
  2. B. Minimum spanning tree
  3. C. Sorting
  4. D. Travelling salesman (decision version)

Correct answer: D. Travelling salesman (decision version)

TSP decision is NP-complete; the others are in P.

More IT Officer Professional Knowledge (IBPS SO) questions

Exams that ask this topic