This series aims to teach you DP with everything sequenced step by step, fully readable code with necessary comments. It includes 160+ 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).
datastructures problemsolving dynamicprogramming leetcode-problems dppatterns algorithmtechniques topdowndp bottomupdp spaceoptimization algorithmsolutions 1ddp 2ddp graphdp dsa-hard-topic hard-dsa 12-dp-patterns
- Updated
Jan 16, 2025