Back to Data Structures & Algorithms

Dynamic Programming Basics

Introducing the core concepts of Dynamic Programming: overlapping subproblems and optimal substructure, through classic problems.

2 weeks

Topics in this Chapter

1

Fibonacci & Knapsack

Using Fibonacci to illustrate memoization and tabulation, and solving the classic 0/1 Knapsack problem.

2

LIS & Coin Change

Solving the Longest Increasing Subsequence and Coin Change problems using DP.

GeekDost - Roadmaps & Snippets for Developers