no account · no paywall · start in 10 seconds
Learn Data Structures
& Algorithms Visually
Master DSA through interactive animations and real-world examples — not boring textbooks. Watch every algorithm run, step by step, at your own pace.
- finished lessons
- 44finished lessons
- animated steps
- 1,139animated steps
- languages, synced
- 4languages, synced
Breadth-first search · live
step 01/21
queue · FIFO
take from the front
Breadth-first search fans out in rings from A, using a queue. A queue is first-in-first-out, so nearer nodes always come off before farther ones — that's why BFS explores level by level.
Open the full lessonthe idea
Every algorithm leaves a fingerprint.
One tick per step, coloured by what happened. You don't need to know what O(log n) means to see which of these is doing less work — and once you've seen it, the notation is just a name for something you already understand.
checks every box
halves it, every time
compares the same pairs over and over
splits, then merges once
how a lesson works
Read less. Watch more. Then break it yourself.
Explained like you're twelve
No jargon before it's earned. Every idea starts with something you already understand — a stack of plates, a queue at a ticket counter, a dictionary you flop open in the middle.
Watched, not read
Play, pause, step forward, step back, scrub the timeline. The code highlights the line it's running, the variables update live, and every single step is written out in plain English.
Broken by you
Type your own numbers and the algorithm genuinely runs on them — nothing is pre-recorded. Hand insertion sort an already-sorted list and watch it do almost nothing. That's the lesson.
the roadmap
Start at zero. Keep going.
Eight levels, in the order that makes each one make sense. What's built is finished. What isn't is labelled as such — no dead links, no empty pages pretending to be lessons.
level 1
Foundations
level 2
Searching
level 3
Sorting
level 4
Linear structures
level 5
Linked structures
level 6
Trees
level 7
Graphs
level 8
Core techniques
questions
Before you start
Yes — that's who this is built for. Every lesson starts with a plain-English explanation and a real-world analogy before any code appears. You can watch every algorithm run without reading a single line of it.
The first one takes eight minutes.
Arrays — the row of numbered boxes that every other structure is built on. No setup, no signup.