Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Data Structures

Status Version 1.0 complete

This part develops the structures used throughout the rest of the book: contiguous and linked sequences, queues, maps, sets, trees, graphs, stable-handle storage, probabilistic membership, caches, rolling windows, and bounded buffers.

The goal is not memorizing APIs. It is learning to choose a representation from required operations, memory layout, ownership, capacity, and worst-case behavior.