Interactive Problem Library

Algorithm Patterns, Visualized

Step through real recurrences and data structures one move at a time, then read the pattern that ties them together. Start with a problem below, browse the pattern field guide, or read the solving tips first.

New to dynamic programming? Take the guided course: four problems in increasing difficulty, each adding one idea. Built for total beginners, no coding experience needed. Start the course
Pattern:
Difficulty: