DSA Lab
Continuously animated, not a slideshow — scrub to any moment and see a real in-between frame, synced to running code.
12 interactive lessons5 families
Descend and cull
4 lessonsBinary search’s halving: the window shrinks by half every step, survivors respread.
Converging walk
2 lessonsTwo ends walk toward each other, one retiring per check.
Running scan
2 lessonsOne guide sweeps forward, tracking a running best as it goes.
In-place partition
3 lessonsA write and a read pointer, bars trading slots instead of a second array.
Sliding window
1 lessonBoth ends only move forward — expand to grow, shrink while still valid.