The space cost of an algorithm is the number of memory cells it uses beyond its input, at its peak, as a function of the input size; the stack frames of recursive calls count.
Computer Science · Glossário
Computer Science · Glossário
The space cost of an algorithm is the number of memory cells it uses beyond its input, at its peak, as a function of the input size; the stack frames of recursive calls count.