AlgoViz
Free forever · no login · no paywall

Algorithms
you can see.

Every problem, stepped through one frame at a time — pointers gliding, windows sliding, DP tables filling in. Press play and watch the idea unfold, pseudocode right beside it. On the classic problems, watch brute force race the optimized trick.

24
patterns
638
problems
412
animated walkthroughs
100%
free
Two Sum II
two pointers
L
R
2
7
11
15
0
1
2
3
target9

Array is sorted. Park L on the smallest value and R on the largest. Target = 9.

Brute → optimal, side by side

The classic problems carry both approaches together. Tap between them and watch the time & space cost fall — so you learn the why, not just the trick.

Step, play, or scrub

Drive the animation your way — arrow keys to step, space to play, or drag to any frame. The code highlights the exact line running.

Truly free & open

No accounts, no locked topics, no upsell. Every pattern and every problem is unlocked for everyone, on every device.

Pick a track

24 patterns · 638 problems — all unlocked.