You do not have permission to edit this page, for the following reason:

The action you have requested is limited to users in one of the groups: Users, Administrators.


You can view and copy the source of this page.

Templates used on this page:

Return to NP, NP Complete, NP Hard.

It might be because of the name that many graduate students find it difficult to understand about NP problems. So, I thought of explaining them as easy as I can.

P Problem: As the name says these problems can be solved in polynomial time, i.e.; <math>O(n), O(n^2) or O(n^k), </math>where <math>k</math> is a constant.

NP Problem: Some think NP as Non-polynomial. But actually its Non-deterministic Polynomial time. i.e.; these problems can be solved in polynomial time by a non-deterministic Turing machine and hence in exponential time by a deterministic Turing machine. In other words these problems can be verified (if a solution is given, say if its correct or wrong) in polynomial time. Examples include all P problems and one example of a problem not in P but in NP is Integer Factorization.

NP Complete Problems: Over the years many problems in NP have been proved to be in P also (like Primality Testing). Still, there are many problems in NP not been proved to be in P. i.e.; the question still remains whether <math>P = NP</math>.

NP Complete Problems are an aid in solving this question. They are a subset of NP problems with the property that all other NP problems can be reduced to any NP Complete problem in polynomial time. So, they are the hardest problems in NP in terms of running time. Also, if anyone can show that an NP Complete Problem is in P, then all problems in NP will be in P, and hence P = NP = NPC.

All NP Complete problems are in NP because of the definition. Examples of NP Complete problems include NP Complete Problems

NP Hard: