Math 2.0

Computer science Computational complexity: resources and classes Concept

NP-completeness

Summary

A decision problem is NP-complete when it lies in NP and is NP-hard. The NP-complete problems are the hardest problems in NP: a polynomial-time algorithm for any one of them gives polynomial-time algorithms for all of NP. Thousands of natural problems are NP-complete, among them satisfiability, graph colouring, the Hamiltonian cycle problem and subset sum. So P equals NP exactly when some NP-complete problem lies in P\mathrm{P}.

Where this leads

22 pages build on this one.

Further reading

  1. Web https://en.wikipedia.org/wiki/NP-completeness
About this page