DSA Lab
12 interactive lessons · continuously animated, not a slideshow — scrub to any moment and see a real in-between frame, synced to running code.
Descend and cull
Binary search’s halving: the window shrinks by half every step, survivors respread.
Converging walk
Two ends walk toward each other, one retiring per check.
Two Pointers
~9 minContainer With Most Water
~8 minRunning scan
One guide sweeps forward, tracking a running best as it goes.
In-place partition
A write and a read pointer, bars trading slots instead of a second array.
Sliding window
Both ends only move forward — expand to grow, shrink while still valid.

