1

I know this is a similar question to this post, but I want to further clarify my understanding. In the picture from wikipedia: enter image description here

I understand that every problem that's in $P$ is also in NP. does this mean that everything from MergeSort, to linear search is in NP [though not NP-HARD]? Or does this only apply to decision problems [aka YES, NO].

But then is it possible to turn any problem that is solvable in less than exponential time into a problem in $P$, hence a problem in $NP$?

thanks!

0 Answers0