DSA curriculum
DSA
13 lessons ready
Data structures and algorithms, with step-by-step visual animations.
Beginner
Big-O basics
Learn how to describe how fast an algorithm is, without a stopwatch.
8 minFree preview
Arrays
How arrays store items side by side, and why reading is fast but inserting is slow.
8 minFree preview
Hash maps
Look things up by key in constant time, and use a hash map to count and remember.
8 min Account
Stacks
Last in, first out. Push, pop and peek, and see a stack in action.
7 min Account
Queues
First in, first out. Enqueue and dequeue, and see how a queue differs from a stack.
7 min Account
Intermediate
Linked lists
Nodes that point to each other. Cheap inserts, but no jumping to an index.
9 min Account
Sorting
Put items in order, starting with bubble sort and a visual trace of every swap.
9 min Account
Binary search
Find a value in a sorted list by cutting the search area in half each step.
8 min Account
Binary trees
Nodes with up to two children, binary search trees, and the ways to walk through a tree.
9 min Account
Strings
Work with text: indexing, reversing, palindromes, anagrams and the two-pointer technique.
9 min Account
Recursion
Functions that call themselves: the base case, the recursive case and the call stack.
9 min Account