This series aims to teach you DP with everything sequenced step by step, fully readable code with necessary comments. It includes 150+ problems, 115+ 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
Dec 10, 2024