0

This diagram is on Wikipedia:

On left side we see NP-hard intersecting NP class (assuming P!=NP), on right side we see NP-hard including NP (assuming P=NP)

On left side we see NP-hard intersecting NP class (assuming P!=NP), on right side we see NP-hard including NP (assuming P=NP)

Where should I place the following problems (assume decisional part)?

  • Traveling salesman
  • Subset sum problem
  • Sorting a list (any problem known to be solvable and verifiable in Polinomial time)
  • Hanoi Towers

I'm a bit confused because I've seen many versions of those diagrams (I'm not even sure those are correct right now).

CoffeDeveloper
  • 314
  • 1
  • 9
  • 2
    What is the decision problem associated with the Towers of Hanoi? Wikipedia give the complexity of all the other problems so what are you confused about that's stopping you answer the question yourself? If your confusion is with the underlying concepts, our reference question may be helpful. – David Richerby May 31 '15 at 14:13
  • The first two are NP-complete, the decision version of the third is in P, and the fourth is not a decision problem so doesn't fit in the diagram. – Yuval Filmus May 31 '15 at 14:25
  • Thanks, sorry for being confused. I'm reading it right now – CoffeDeveloper May 31 '15 at 14:42

0 Answers0