Complexity Flashcards

1
Q

P

A

P is the class of decision problems that can be solved by a computer in polynomial time,

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

P vs NP

A

whether every problem that can be quickly checked for a solution can also be quickly solved by a computer.

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

NP

A

NP is the class of decision problems for which a proposed solution can be verified quickly by a computer in polynomial time.

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

NP-Hard

A

A problem is NP-hard if every problem in NP can be reduced to it by a polynomial-time reduction.

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

NP-Complete

A

A problem is NP-complete if it is both NP and NP-hard.

NP-complete problems are the hardest problems within NP.
If you could solve any one NP-complete problem quickly, you could solve every problem in NP quickly.

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

coNP

A

coNP is the class of decision problems whose complements are in NP.

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

PSPACE

A

PSPACE is the class of decision problems that can be solved using polynomial space, where the amount of memory used grows at most as a polynomial function of the size of the input.

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

CLIQUE

A

The CLIQUE problem asks whether a graph contains a complete subgraph of a certain size.

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

L

A

L is the class of decision problems that can be solved by a computer using logarithmic space, where the amount of memory used grows logarithmically with the size of the input.

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

NL

A

NL is the class of decision problems for which a proposed solution can be verified using logarithmic space.

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

Savitchs Theorem

A

shows that deterministic machines can simulate
nondeterministic machines by using a surprisingly
small amount of space

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

PSPACE Complete

A

Language B is PSPACE COMPLETE if:
1. Is in PSPACE, and
2. Every A in PSPACE is polynomial-time reducible to B.

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