NewA full roadmap, 13 stages

Learn algorithmsby watching them work

A roadmap for programmers, one step at a time. Every lesson explains the idea with illustrations, then lets you play the algorithm on your own input, check yourself, and practise on real problems.

13stages, in order
50interactive lessons
14university lectures
EN · ქარtwo languages
How every lesson works

Five ways into each algorithm

Reading alone is not enough and animations alone are not either. Each topic walks you through the same five steps.

01

Learn

A short illustrated explanation: the intuition first, then the mechanics and the cost.

02

Watch

For lecture topics, a narrated explainer video that follows the lecture slide by slide.

03

Play

Step through the algorithm forwards and backwards. Then run it on your own input.

04

Check

Three quick questions that test whether the idea really landed.

05

Practice

Handpicked problems on CSES and LeetCode, easiest first.

Try it right now

This is BFS, running live

Every lesson has a visualizer like this one. Step forward and back, change the input, or let it play.

Interactive visualizer

Graph (source: 4)

1234d=056789
white: undiscoveredgray: in queueblack: finishedBFS tree edge

Queue (FIFO)

4

State

v123456789
d[] dist∞∞∞0∞∞∞∞∞
p[] parent∞∞∞nil∞∞∞∞∞
used[]000100000
Start from source vertex 4: d[4] = 0, mark it used and enqueue it. It turns gray.

Pseudocode

 1 q.push(s); used[s]=1; d[s]=0; p[s]=-1 2 while (!q.empty()) { 3   v = q.front(); q.pop() 4   for (u in adj[v]) { 5     if (!used[u]) { 6       used[u] = 1 7       d[u] = d[v]+1; p[u] = v 8       q.push(u) 9 } } }  // d[] = shortest distances
1 / 1
Open the full BFS lesson →
About this project

Why Algo Visualized exists

I am a fan of Zaza Gamezardashvili's lectures. He explains algorithms with rare clarity, and I wanted more people to be able to learn from him.

So I took them as the foundation and built something new on top: a modern, organised roadmap you can follow from start to finish, where every topic has a logical bridge to the next one, and every idea can be watched, played with and practised.

DBDaniel BarbakadzeCreator of Algo Visualized
Who it is for

You can code. Now learn to think in algorithms.

  • ✓
    You know one programming languageLoops, functions and arrays are enough. Pseudocode and C++ snippets are kept short.
  • ✓
    You want the why, not only the howEach lesson shows why the algorithm is correct and what it costs, not only what it does.
  • ✓
    You learn by doingChange the input, step backwards, predict the next move, then solve real problems.
  • ✓
    You read English or GeorgianSwitch language at any moment. Georgian uses the lectures' terminology.

Start with Stage 0. Twelve minutes.

Big-O and recursion are all you need to begin. Your progress is saved in this browser.