Step, back, replay
Move one step at a time in either direction, or let it play. The step you did not understand is the one you can sit on.
26 algorithms across 10 patterns, in the browser. Put in your own array, string or graph, step forward and back, and watch what the code is holding at every moment. Free to use.
Free to start: 100 AI credits when you sign up and 100 every month. Practice runs never cost credits.
The thing students get wrong is rarely the idea. It is what the variables hold on step nine.
You can follow merge sort in your head for six elements and lose the thread at twelve. You can read the two-pointer trick and still not see why moving the shorter line is the only move that can help. Both gaps are about state: what is in the window, the stack, the table, the queue, right now.
The visualiser holds that state in front of you and moves one step at a time. The array, the pointers, the recursion tree, the DP table and the code line being executed all move together, forward or back, at your pace.
Put your own input in. A sorted array, a nearly sorted one, an array with duplicates, an empty one. Watching the same algorithm on three inputs is how the edge case stops being a surprise in an interview.
Each pattern carries the idea in one line, then the algorithms that live inside it.
Built for studying, not for a demo video.
Move one step at a time in either direction, or let it play. The step you did not understand is the one you can sit on.
Type the array, string or graph you want. The same algorithm on your own tricky case is worth ten on a clean one.
The line being executed is highlighted as the picture changes, so the drawing and the code never drift apart.
A link carries the algorithm, your input and the step number, so you can send a friend the moment you are stuck on.
The pages students open after this one.
Still not sure? Start free, or a mentor answers on a call.
Start freeA tool that draws a data structure while an algorithm runs on it, so you can see the array, pointers, stack, tree or table change at each step instead of imagining them.
26 of them: sorting (bubble, insertion, merge, quick), binary search and lower bound, two pointers, sliding window, stacks, tree traversals and BST, heaps, BFS, DFS, grid shortest path, topological sort, union-find, Dijkstra, and DP including knapsack and longest common subsequence.
Yes. Type your own array, string or graph and the algorithm runs on that, including the edge cases you want to test.
Yes, and watching costs no credits. The app is free to start.
It builds the picture you fall back on when you are nervous. Students who can see the window or the recursion tree explain their approach faster, and explaining is half the round.
Tell us who you are. On the call we help you pick the right batch.