Snippets
Learn algorithms the way you'll actually recall them — one micro-step at a time. Step through each solution frame by frame until its shape is muscle memory. Grouped into Grind 75 patterns and a toolbox of must-know algorithms.
Two Pointers — Converging
Sorted array, target sum. Put one pointer at each end and walk them toward each other, deciding which to move by comparing the current sum to the target.
Useful Algorithms
A toolbox of must-know algorithms — searching, sorting, and graph traversal — built up step by step so you can reproduce them from memory.