Are all problems in NP which are not P NP-complete? To make myself more clear, is NP-P=NPC? If not, can you give an example of an NP problem that is neither P nor NP-complete?
Are all NP-complete problems NP-hard?
Thank you very much in advance.
First, a picture
It was shown by Ladner that if
P ≠ NP
then there exist problems inNP
that are neither inP
norNP-complete
. Such problems are calledNP-intermediate
problems. The graph isomorphism problem, the discrete logarithm problem and the integer factorization problem are examples of problems believed to beNP-intermediate
. They are some of the very fewNP
problems not known to be inP
or to beNP-complete
.
NP-hard
is a class of problems which are at least as hard as the hardest problems in NP
. Thus, yes, every NP-complete
problem is NP-hard
. If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With