All books

Professional

Apps About Coach Log in Start reading

Computer Science · Glossary

What is Space cost?

Definition 13.8 University Computer Science — Year 1 · Chapter 13 — Asymptotic Analysis and Recurrences

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.

Read in context →