A problem is in the class NP-complete, if it is in NP and is as "hard" as any problem in NP. So NP-complete problems are the hardest problems in NP.
Examples of NP-complete problems:
- Knapsack (pseudopolynomial, O(nS) where n is number of items and S is the size of the knapsack)
- Traveling salesman problem
- SAT
- Tetris
- 3-coloring a given graph
MIT 6.006 notes: http://courses.csail.mit.edu/6.006/fall11/lectures/lecture23.pdf
No comments :
Post a Comment