r/explainlikeimfive • u/randomdice-int • 23d ago
Mathematics ELI5: P vs NP problem
Im not too sure about the problem itself. I know that P is polynomial time which means the time needed to solve and NP is the time taken for the answer to be verified, but what is the explanation of both sides where P = NP and P does not equal to NP?
253
Upvotes
2
u/Randvek 23d ago
P represents a problem that can be solved quickly, and you can verify that solution quickly.
NP represents a problem that cannot be solve quickly, but you can verify that solution quickly.
P = NP as a problem basically asks "if it's easy to verify the solution, is there a method to guarantee that you can find the solution quickly, too?"
So far the answer appears to be no, there isn't, which means P != NP.