Professional KnowledgeHardIBPS SO IT
Which problem is NP-complete?
- A. Shortest path with positive weights
- B. Minimum spanning tree
- C. Sorting
- D. Travelling salesman (decision version)
Correct answer: D. Travelling salesman (decision version)
TSP decision is NP-complete; the others are in P.
Practise more IT Officer Professional Knowledge (IBPS SO) questionsIT Officer Professional Knowledge (IBPS SO): notes and key points
More IT Officer Professional Knowledge (IBPS SO) questions
- Regular expression (a+b)abb corresponds to a DFA over {a,b} with the minimum number of states equal to:
- Which of these is a context-free but not a regular language?
- Which of the following about C++ virtual functions is correct?
- In the V-model, unit testing corresponds to which development phase?
- Cyclomatic complexity of a function with 4 decision points (if/while) is:
- Which coupling is the most desirable between modules?