Skip to main content

Under the hood

FullStack

About this course

Every framework, database and runtime we use is built on a small set of algorithms and data structures. When AI writes code that looks right, knowing what happens under the hood is how a reviewer spots the quadratic loop, the broken hash key or the missing index.

The series starts with Big O and arrays, then covers linked structures, hash tables and how hashing fails in production, sorting and searching, trees, database indexes, LSM trees, graphs, dynamic programming and probabilistic structures, and ends with concurrency, caches and memory layout. Each episode is harder than the last, and each includes an AI review drill.

Who it is for

Developers and engineers in the computer science department. It assumes you already write production code in at least one language.

How each episode works

  • Watch the video (about 11 minutes). It is narrated by Andrew la Grange.
  • Check your understanding with three short questions, then work through the review questions.
  • Read the supplementary reading (PDF), which has the key code samples and charts, and download the slide deck (PPTX) if you want it.

Every code sample in the series was compiled and run, and every measured chart comes from a benchmark script. The course ends with a graded final assessment; you need 70% to pass.

Episodes

#EpisodeVideo
1Big O for people who ship
Growth, not speed: what complexity tells you, and what it does not
11 min
2Arrays, dynamic arrays and amortised cost
Why appends are cheap, front inserts are not, and string building is a trap
11 min
3Linked structures, stacks, queues and deques
What pointers buy you, what they cost, and which queue to use
10 min
4Hash tables: why lookups are O(1) and when they are not
Buckets, load factor, resizing, and the Equals and GetHashCode contract
10 min
5Hash flooding and other ways hashing goes wrong in production
When someone else chooses your keys, and why hash codes must never be saved
11 min
6Sorting and searching, done right
The lower bound, stability, your platform's real sort, and the binary search bug
11 min
7Trees
BSTs, balance, heaps and tries
11 min
8Inside the database
B-trees, B+ trees and indexes in SQL Server and PostgreSQL
11 min
9LSM trees and write-heavy storage
Memtables, sorted runs, compaction and Bloom filters
11 min
10Graphs in business systems
Dependency order, linked records and cheapest paths
11 min
11Dynamic programming, greedy, and probabilistic structures
Trading memory for time, proof for speed, and certainty for space
11 min
12Concurrency, caches and memory layout
The series finale: shared state, caches, cache lines, and a capstone review
11 min

Course staff

Andrew la Grange

Andrew wrote and narrates the series.

Course Summary

  1. Course Number

    FSALG
  2. Classes Start

  3. Estimated Effort

    About 4 hours 30 minutes
Enroll