19 NP Complete Flashcards

1
Q

Intractable Problems

A

As they grow larger, we are unable to solve them in reasonable time. (Polynomial time)

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

NP-Complete

A

No one has yet proven that polynomial time algorith does not exist.

That is in NP and NP-Hard.
(The “hardest” problems in NP)

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

P

A

The class of decision problems that are solvable in polynomial time.

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

NP

A

Non-deterministic Polynomial.

The class of decision problems that can be verified in polynomial time by a nondeterminstic algorithm

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

NP-Hard Problems

A

Are at least as hard as the hardest problems in NP.

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

Relationship between NP-Complete and NP-Hard

A

All NP-Complete are also NP-Hard

Not all NP-Hard are in NP (despite have NP as a prefix), so a problem can be NP-hard without being NP-complete.

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

Relationship between P and NP

A

P: Can be solved quickly.

NP: Can be verified quickly, but not solved quickly.

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

Examples of NP-Complete Problems

A

Hamitonian Cycle Problem
Traveling Salesman Problem
Graph Coloring

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