AlgoTrace — algorithms, step by step

Interactive algorithm visualizer with highlighted pseudocode, play/pause/scrub controls and edge-case presets, plus a code tracer for your own Python, JavaScript, C++ or Java.

Sorting algorithms

Put things in order — comparisons, swaps, and the tricks that avoid them.

Searching algorithms

Find a needle fast by exploiting order.

Graphs algorithms

Traversal, shortest paths, spanning trees and ordering.

Dynamic Programming algorithms

Solve each subproblem once and reuse the answer.

Greedy algorithms

Take the locally best choice — and learn when that fails.

Backtracking algorithms

Try, recurse, undo.

Trees algorithms

Hierarchies and binary search trees.

Techniques algorithms

Two pointers, sliding windows and other patterns.

Time and space complexity cheatsheet