fix: incorrect descriptions of the P = NP problem (#8084)

pull/8043/head^2
Fuchen Shi 3 weeks ago committed by GitHub
parent 073708e7e9
commit 7a7590d872
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 8
      src/data/roadmaps/computer-science/content/p--np@0btHNkzWL1w_-pUgU_k2y.md

@ -1,6 +1,12 @@
# P = NP
The P = NP problem is one of the most famous problems in computer science. It asks if the problem of determining if a given input belongs to a certain class of problems is as hard as the problem of solving the given input. In other words, it asks if the problem of determining if a given input belongs to a certain class of problems is as hard as the problem of determining if a given input belongs to a certain class of problems. This problem is also known as the Halting Problem.
The P = NP problem is one of the most famous problems in computer science. It asks whether a problem that can be solved in polynomial time on a non-deterministic machine (i.e., the problem is in NP) can also be solved in polynomial time on a deterministic machine (i.e., the problem is in P).
If you can find a polynomial-time solution to an NP-complete problem, then all problems in NP can be solved in polynomial time. This shows that P = NP.
If you can prove for any single NP-complete problem that it is only solvable in exponential time, then all NP-complete problems are only solvable in exponential time. This shows that P ≠ NP.
So far, we don't know whether P = NP or P ≠ NP.
Visit the following resources to learn more:

Loading…
Cancel
Save