P NP Flashcards
1
Q
NP (problems easy to check but no known polynomial time solution)
A
- traveling sales person
- 0-1knapsack
- integer factoring
- min vertex cover
- max independent set
- max clique
2
Q
CNF Satisfiability Problem - also NP bc 2^n
A
( X1 V |X2 V X3 ) ^ ( |X1 V X2 V |X3 )