Skip to content

Learning paths

Six paths, each in a recommended order. Start at the top if you have never programmed.

Programming fundamentals

BeginnerStart here4 modules · 13 tutorials · about 13 hNo programming needed: you have used a computer and a web browser, and that is enough.
Modules of Programming fundamentals

Open Programming fundamentals

Module 1 of 4 · Values and flow

Instructions, choices and doing something again: the pieces every program is made of.

4 tutorials · 23 lessons · 4 h 05 min

  1. 1Your first program, up next6 lessons · 1 hStart
  2. 2Making decisions5 lessons · 55 minStart
  3. 3Repeating6 lessons · 1 h 05 minStart
  4. 4Functions6 lessons · 1 h 05 minStart

Module 2 of 4 · Collections and text

Many values in one place: lists, text, and looking things up by name.

4 tutorials · 20 lessons · 3 h 45 min

  1. 1Lists5 lessons · 1 hStart
  2. 2Strings5 lessons · 55 minStart
  3. 3Dictionaries and sets5 lessons · 55 minStart
  4. 4Nested data5 lessons · 55 minStart

Module 3 of 4 · Programs that cope

Errors, input from outside, and objects: programs that deal with the real world.

4 tutorials · 20 lessons · 4 h

  1. 1Errors and debugging5 lessons · 1 hStart
  2. 2Input, files and the standard library5 lessons · 55 minStart
  3. 3Classes and objects5 lessons · 1 h 05 minStart
  4. 4Objects that share behaviour5 lessons · 1 hStart

Module 4 of 4 · Putting it together

One small program built from everything in the path.

1 tutorial · 6 lessons · 1 h 15 min

  1. 1Build a small program6 lessons · 1 h 15 minStart

Data structures

Beginner4 modules · 13 tutorials · about 20 hAfter the Programming fundamentals path, or start here if you can already write a few lines of Python or Java: variables, loops and functions.
Modules of Data structures

Open Data structures

Module 1 of 4 · Arrays and lists

Rows of cells, pointers and the structures built on them.

6 tutorials · 44 lessons · 8 h 27 min

Recommended order: after 3 · Stacks and queues, do Hash Maps & Hashing and Hash sets (module Hashing), then come back for 4–6.

  1. 1Arrays and dynamic arrays, up next8 lessons · 1 h 38 minStart
  2. 2Linked lists8 lessons · 1 h 36 minStart
  3. 3Stacks and queues8 lessons · 1 h 18 minStart
  4. 4Two pointers and sliding window8 lessons · 1 h 39 minStart
  5. 5Sorted arrays and binary search6 lessons · 1 h 06 minStart
  6. 6Recursion and the call stack6 lessons · 1 h 10 minStart

Module 2 of 4 · Hashing

Finding things by name instead of by position.

2 tutorials · 17 lessons · 3 h 30 min

  1. 1Hash Maps & Hashing11 lessons · 2 h 29 minStart
  2. 2Hash sets6 lessons · 1 h 01 minStart

Module 3 of 4 · Trees

Data with levels, like folders on a computer.

3 tutorials · 24 lessons · 4 h 41 min

  1. 1Binary trees and traversals8 lessons · 1 h 39 minStart
  2. 2Binary search trees9 lessons · 1 h 41 minStart
  3. 3Heaps and priority queues7 lessons · 1 h 21 minStart

Module 4 of 4 · Graphs

Things and the connections between them.

2 tutorials · 15 lessons · 3 h 14 min

  1. 1Graphs: representation, BFS and DFS7 lessons · 1 h 35 minStart
  2. 2Weighted graphs: Dijkstra and topological order8 lessons · 1 h 39 minStart

Interview practice

Intermediate2 modules · 4 tutorials · about 4 h 30 minAfter the Data structures path: the problems here use hash maps, two pointers, binary search, linked lists and shortest paths, solved in Python or Java.
Modules of Interview practice

Low-level design

Intermediate3 modules · 8 tutorials · about 9 hAfter the Programming fundamentals path, up to objects that share behaviour. One tutorial mentions a queue from Data structures and reminds you what it is.
Modules of Low-level design

Open Low-level design

Module 1 of 3 · Building blocks

Diagrams, private data, has-a and interfaces: the pieces every design is made of.

4 tutorials · 20 lessons · 4 h 05 min

  1. 1Reading and drawing class diagrams, up next5 lessons · 1 hStart
  2. 2Encapsulation: guarding an object's data5 lessons · 1 hStart
  3. 3Composition over inheritance5 lessons · 1 h 05 minStart
  4. 4Interfaces and polymorphism in design5 lessons · 1 hStart

Module 2 of 3 · Principles and patterns

Five rules of thumb and three named shapes that keep classes simple to change.

2 tutorials · 12 lessons · 2 h 30 min

  1. 1SOLID, one principle at a time6 lessons · 1 h 15 minStart
  2. 2Three patterns you will meet first6 lessons · 1 h 15 minStart

Module 3 of 3 · Case studies

Two systems designed from a paragraph of requirements to working code, the way an interview round runs.

2 tutorials · 12 lessons · 2 h 30 min

  1. 1Design a parking lot6 lessons · 1 h 15 minStart
  2. 2Design a library system6 lessons · 1 h 15 minStart

Databases and SQL

Beginner3 modules · 8 tutorials · about 9 hAfter the Programming fundamentals path. SQL itself starts from nothing here; only the Indexes tutorial leans on binary search from Data structures.
Modules of Databases and SQL

Open Databases and SQL

Module 1 of 3 · Asking questions

Tables, and the SQL that reads them: filter, sort, count, group and join.

4 tutorials · 22 lessons · 4 h 20 min

  1. 1What a database is, up next5 lessons · 1 hStart
  2. 2Reading data: SELECT, WHERE, ORDER BY, LIMIT6 lessons · 1 h 05 minStart
  3. 3Counting and grouping5 lessons · 1 h 05 minStart
  4. 4Joining tables6 lessons · 1 h 10 minStart

Module 2 of 3 · Keeping data right

Changing data safely, and designing tables that refuse bad data.

2 tutorials · 10 lessons · 2 h 15 min

  1. 1Changing data and transactions5 lessons · 1 h 05 minStart
  2. 2Designing tables5 lessons · 1 h 10 minStart

Module 3 of 3 · Databases in practice

Why some queries are fast and others slow, and how a program talks to a database.

2 tutorials · 10 lessons · 2 h 10 min

  1. 1Indexes: why queries are fast or slow5 lessons · 1 hStart
  2. 2Using a database from code5 lessons · 1 h 10 minStart

System design

Intermediate3 modules · 8 tutorials · about 9 hAfter the Programming fundamentals path. Lessons that use a database, a class diagram, a hash map or a queue say so and re-explain what they need.
Modules of System design

Open System design

Module 1 of 3 · Building blocks

One request from start to finish, and the first two tools for handling many: more servers and a cache.

3 tutorials · 17 lessons · 3 h 10 min

  1. 1What happens when you open a website, up next6 lessons · 1 hStart
  2. 2Scaling out: load balancers and stateless servers5 lessons · 1 hStart
  3. 3Caching6 lessons · 1 h 10 minStart

Module 2 of 3 · Data and work at scale

More copies of the data, data split across machines, and work done later in the background.

2 tutorials · 12 lessons · 2 h 15 min

  1. 1Databases at scale: replicas, sharding and the trade-offs6 lessons · 1 h 10 minStart
  2. 2Queues and background work6 lessons · 1 h 05 minStart

Module 3 of 3 · Designing a system

Put numbers on a design, then design two real services from the question to the diagram.

3 tutorials · 18 lessons · 3 h 30 min

  1. 1Estimating: back-of-the-envelope numbers6 lessons · 1 hStart
  2. 2Design a URL shortener6 lessons · 1 h 15 minStart
  3. 3Design a news feed6 lessons · 1 h 15 minStart
Coming later
  • Algorithms and problem-solving patterns — after Data structures
  • Backend engineering — after Programming fundamentals and Databases and SQL
  • Frontend engineering — after Programming fundamentals
  • Cloud and DevOps — after Programming fundamentals and System design
  • AI and machine learning — after Programming fundamentals and Data structures
  • Generative AI engineering — after Programming fundamentals

Planned, not written. Nothing here is a lesson yet.