L15 - The Million Dollar Question Flashcards

1
Q

How can we reduce the 3SAT problem to prove it’s NP-Complete?

A
  • Reduce to k-clique
  • Show that k-clique is in NP by verifying in P
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Give the 3 steps of reducing 3SAT to k-clique…

A
  1. Split formula into K groups of 3-nodes, each of which must contain at least 1 true. Each 3-node group corresponds to 1 clause in the original formula.
  2. Calculate whether sub-graphs are true or not in P time.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Define NP, NP-Hard, NP-Complete problems…

A

NP - Problems that can be verified in P but not solved.

NP-Hard - Problems that are at least as hard as every problem in NP.

NP-Complete - Problems that are NP-Hard and in NP.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Why is P vs NP a million dollar question?

A

If we can verify a solution to a problem in P, does this not mean we can also solve the problem in P time?

How well did you know this?
1
Not at all
2
3
4
5
Perfectly