Learn data structures in small steps.
Each lesson focuses on one thing, like adding a node to a list or reversing it. You read the idea, watch it happen step by step in a drawing, and see the same steps in C, Java and Python.
Start here
The introduction and all the linked list lessons are ready. We are adding the next parts one by one.
Data structures first, then algorithms
Lessons build on each other, so going in order is easiest. Each part starts with a short lesson that introduces the topic.
Data Structures
The foundation: how we keep data in memory and how we reach it. From arrays to graphs.
- 1Introduction
- 2Arrays
- 3Linked Lists
- 4Stack
- 5Queue
- 6Trees
- 7Binary Trees
- 8Graphs
- 9Hashing
Algorithms
Methods built on top of data structures: sorting, searching, recursion and problem-solving patterns.
- 1Complexity analysis
- 2Recursion
- 3Searching
- 4Sorting
- 5Divide and conquer
- 6Greedy methods
- 7Dynamic programming
- 8Graph algorithms
Every lesson has the same parts
Whichever lesson you open, it follows the same order. Learn where things are once and you are set.
- IdeaThe core of the operation in a few sentences.
- Step-by-step drawingHow nodes and pointers change at each step.
- CodeC, Java and Python. The step in the drawing lights up in the code.
- ComplexityTime and memory, with the reason.
- Common mistakeWhere students get stuck most.
- Try itShort questions with explained answers.
A 60-second vertical video for every lesson is in the works.