Space Complexity
Count extra memory boxes, not seconds.
INSTRUCTION
MEMORY
CONSOLE
MEMORY — every variable is a labeled box
(empty — no variables created yet)
CONSOLE — what the program says back
>▍ nothing printed yet
Count extra memory boxes, not seconds.
MEMORY — every variable is a labeled box
CONSOLE — what the program says back