Data structures

Build the mental model first.

Understand how data is stored, linked, and accessed. Each card includes core operations, pitfalls, complexity, and a Python sketch.

What to focus on

  • Core operations and when they are fast or slow.
  • Common pitfalls that show up in practice.
  • Complexity tradeoffs you can explain quickly.

All data structures

Select any card to see summaries, pitfalls, and examples.