Guided lesson

Memory, References, and Pointers

Foundations

Memory, References, and Pointers

Start here

Mental model

  • Arrays are contiguous.

Operations

allocate

Cost shape

Memory layout changes access cost

Watch out

Confusing copying a value with copying a reference.

Related algorithms

Linked List InsertTree Traversal
Guided progression
10% lesson
Step 1 / 2Learner goal
Speech settings Speed 1.0 · Volume 90%

Keyboard: Space play/pause · Arrow keys step · Page Up/Down change sections · R restart