8. SPACE COMPLEXITY Flashcards
What is space complexity ?
The complexity of computational problems in terms of the amount of space, or memory, that they require.
We typically estimate the space complexity of Turing machines by using?
asymptotic notation.
Savitch’s theorem is one of the earliest results concerning space complexity. What does it show ?
It shows that deterministic machines can simulate nondeterministic machines by using a surprisingly small amount of space.
What are sublinear space bounds?
In sublinear space complexity, the machine is able to read the entire input but it doesn’t have enough space to store the input.
Sublinear space algorithms allow what?
Sublinear space algorithms allow the computer to manipulate the data without storing all of it in main memory.
What is L ?
L is the class of languages that are decidable in logarithmic space
on a deterministic Turing machine. In other words,
L = SPACE(log n).
What is NL ?
NL is the class of languages that are decidable in logarithmic space on a nondeterministic Turing machine. In other words,
NL = NSPACE(log n).