This series aims to teach you DP with everything sequenced step by step, fully readable code with necessary comments. It includes 140+ problems, 110+ from LeetCode, covering 12 DP patterns from 1D to Graph DP. Includes Top-Down & Bottom-Up solutions, multiple ways of writing Top-Down solutions, and space optimizations (e.g., 1D to constant space).
-
Updated
Nov 30, 2024