Everything About ___
Live briefing

Everything about Space complexity

Computer memory needed by an algorithm

The space complexity of an algorithm or a data structure is the amount of memory space required to solve an instance of the computational problem as a function of characteristics of the input. It is the memory required by an algorithm until it executes completely. This includes the memory space used by its inputs, called input space, and any other (auxiliary) memory it uses during execution, which is called auxiliary space. Wikipedia →

🧭 Start here: a 6-step reading path

  1. Read the overview: Space complexityA 5-minute orientation
  2. Skim a recent paper: Scale, context, and heterogeneity: the complexity of the social spaceInfluential work since 2022
  3. Pick up a classic book: I, RobotThe most-reprinted book on the subject
  4. Read the landmark paper: MUSCLE: a multiple sequence alignment method with reduced time and space complexityCited 8,061 times
  5. Go sideways: NSPACEA closely related topic
  6. Go sideways: DSPACEA closely related topic

📖 Definitions

Noun A measure of the amount of space, or memory required by an algorithm to solve a given decision problem. An informal analogy would be the amount of scratch paper needed while working out a problem with pen and paper.

🏆 Landmark papers (most cited)

🆕 Influential since 2022

📚 Books worth reading

Ranked by number of editions on Open Library, a rough measure of how lasting a book is.

🔗 Related topics