Watch the code run.
Every topic is real code you can step through line by line, with a visualization that moves in lockstep. Scrub it, slow it down, feed it your own input — until the algorithm stops being memorized and starts being obvious.
step through sorting →