Pick a module below. Most visualizers are free. The few tagged Premium are the advanced ones. Every visualizer runs step by step: pause on any step, change the input on most, and watch the code and the picture move together.
Nested loops that draw shapes row by row.
Scan a list, then halve it with binary search.
Two pointers and sliding windows over an array.
Simple sorts first, then merge sort and quick sort.
Push, pop and the monotonic stack pattern.
First in, first out: the order BFS relies on.
Move pointers to reverse, split and trim a list.
Fast key lookups, and what happens on a collision.
Walk a binary tree depth first and level by level.
Keep the smallest or largest item on top.
Insert, search and validate an ordered tree.
BFS, DFS, then shortest paths with Dijkstra.
Walk a grid: spiral, flood fill and islands.
Try a move, hit a dead end, undo and try again.
Save answers to subproblems, top down and bottom up.
Take the best choice now, and see when that works.
Merge groups and ask if two items are connected.
Store words by prefix for fast lookup and autocomplete.
Who gets evicted when the cache is full.
Find a pattern in text without backing up, with KMP.
This page lists every section of the visualizers. Each section groups pages that solve one kind of problem with one family of methods, and every page animates its algorithm step by step on a real input.
Most of the speed here comes from structure that lets you skip work. A sorted array lets binary search ignore half of what is left, a heap keeps the smallest value on top, a hash map jumps straight to a key, and a memo table remembers finished answers. Faced with a new problem, look at what order the data has, or could cheaply be given, and find the section that uses it.
If you are new, start with Searching, Sorting and Array Techniques, then Linked List, Stack and Queue. Trees, graphs and heaps come next, then dynamic programming, greedy and backtracking, which assume you can already write recursion. Star Patterns is loop practice for beginners, outside that path.