# Dynamic programming ![Dynamic programming](../assets/covers/chapter_dynamic_programming.jpg) !!! abstract Streams merge into rivers, and rivers merge into the sea. Dynamic programming weaves smaller problems’ solutions into larger ones, guiding us step by step toward the far shore—where the ultimate answer awaits.