8. SPACE COMPLEXITY Flashcards

1
Q

What is space complexity ?

A

The complexity of computational problems in terms of the amount of space, or memory, that they require.

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

We typically estimate the space complexity of Turing machines by using?

A

asymptotic notation.

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

Savitch’s theorem is one of the earliest results concerning space complexity. What does it show ?

A

It 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
4
Q

What are sublinear space bounds?

A

In sublinear space complexity, the machine is able to read the entire input but it doesn’t have enough space to store the input.

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

Sublinear space algorithms allow what?

A

Sublinear space algorithms allow the computer to manipulate the data without storing all of it in main memory.

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

What is L ?

A

L is the class of languages that are decidable in logarithmic space
on a deterministic Turing machine. In other words,
L = SPACE(log n).

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

What is NL ?

A

NL is the class of languages that are decidable in logarithmic space on a nondeterministic Turing machine. In other words,
NL = NSPACE(log n).

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