๐ Now Video Lectures Are Available โ Playlist Link
I've created a comprehensive Dynamic Programming series featuring 160+ problems, with 115+ problems sourced from LeetCode ๐. The rest are from GFG and Coding Ninjas. This series covers 12 different DP patterns, ranging from 1D to Graph DP ๐งฉ, with a strong focus on medium and hard-level problems ๐ฅ. In each folder, the problems are sequenced based on their serial order, so start with the problem labeled Serial 1, then move to Serial 2, and so on. Make sure you learn the patterns in the following order (click the pattern to jump to the specific folder):
- Introduction To DP
- 1D DP
- Multi Dimensional DP
- Subarrays DP
- Subsequences DP
- LIS DP
- String DP
- Stocks DP
- Game Theory DP
- Partition DP
- Square Submatrix DP
- Tree DP
- Graph DP
๐ฏ Along the journey, ๐ถ๐บ๐ฝ๐ผ๐ฟ๐๐ฎ๐ป๐ ๐ฝ๐ฎ๐๐๐ฒ๐ฟ๐ป๐ like ๐๐ป๐ฎ๐ฝ๐๐ฎ๐ฐ๐ธ ๐๐ฃ (๐ถ๐ป๐ฐ๐น๐๐ฑ๐ถ๐ป๐ด ๐ฌ/๐ญ ๐ฎ๐ป๐ฑ ๐จ๐ป๐ฏ๐ผ๐๐ป๐ฑ๐ฒ๐ฑ) and ๐๐ป๐๐ฒ๐ฟ๐๐ฎ๐น ๐๐ฃ are naturally covered within these patterns. So donโt worry ๐, these will get cleared naturally as you progress through the video lectures of the course.
- Both Top-Down DP and Bottom-Up DP solutions ๐ก.
- Multiple ways of writing Top-Down and Bottom-Up approaches ๐.
- Solutions consider optimizations as much as possible, including various space optimizations across different patterns (e.g., from 1D to constant space optimization, as we do in Bottom-Up approaches) ๐ ๏ธ.
- Detailed time and space complexity note on the recursive solutions โฑ๏ธ.
- Fully readable code with necessary comments to make every solution crystal clear โ๏ธ.
- The perfect sequence of problems for each pattern, helping you solve them in the right order ๐.
Whether you're a beginner in Dynamic Programming or aiming to master it, this series will be helpful for everyone. This is designed to help others so that they won't struggle the same way I did. All you have to do is read the question, try the problem yourself first, and then open the solution and read them sequence-wise as uploaded. You have to worry about nothingโeverything is organized sequentially, guiding you step by step through each pattern ๐บ๏ธ. By the end of this series, you'll end up solving 115+ LeetCode Dynamic Programming problems! ๐ฏ
I will continue to add more problems and updates to keep the series comprehensive and current. Stay tuned! ๐ง
๐ป
#DynamicProgramming #LeetCode #GFG #CodingNinjas #Coding #ProblemSolving #SoftwareEngineering #DSAisLove
Dynamic Programming: Why overthink when you can just be lazy ๐, explore all the possibilities ๐, and let the code do the heavy lifting ๐ป๐ช!
๐ฏ๐ค๐ป Follow For More โฐโโค Hiren Joshi - LinkedIn