Skip to content

Arrays

Pointers, windows and in-place tricks, drawn out step by step.

Start the module

1. Array Basics · 4 min

0 of 14 lessons · 0% complete

Start module

Arrays visualizer

Every lesson in this module opens with an animation you can step through. This is the first one — Array Basics: One block of memory, instant access to any slot.

Array Basics

Step 1 of 6

An array stores values back to back, so slot i always sits at base + i × size.

Lessons
14
Minutes
69
Problems
20
Concepts
7

Quiz yourself: 3 questions from this module

1 / 3

Why is reading arr[i] O(1)?