L15 - 1D DP | Coin Change | CSES | LeetCode 322 | Recursion | Memoization | Tabulation

Опубликовано: 15 Май 2026
на канале: vHiren
172
like

Today in Lecture 15, we solve LeetCode 322 (MEDIUM). Coin Change problem using 1D Dynamic Programming with a focus on intuition building. The iterative coin choices illustrate how each amount accumulates contributions from earlier states, and determining the total number of ways to make a given sum.

🌐 Don’t forget to select your language in YouTube settings for better understanding and subtitles!

⮕ Problem Link 1: https://leetcode.com/problems/coin-ch...
⮕ Problem Link 2: https://cses.fi/problemset/task/1634
⮕ Code Link: https://github.com/hiren-j/dsaAffecti...

This series is designed to help you master Dynamic Programming for coding interviews and competitive programming. From beginner to advanced level, this series covers 12 DP Patterns In which we'll be focusing on recursion, memoization, tabulation, space optimization—everything you need to know about DP. Here are the patterns which you'll be learning :-
⮕ 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

Video Chapters :-
0:00 - Understanding The Problem
2:11 - Prerequisites (MOST IMPORTANT)
2:21 - How Problem Give Hints To Think Recursive
2:42 - Approaching Recursion
9:35 - Recursive Code
10:33 - Recursion Time + Approaching DP
11:14 - Coding Memoization + Time & Space Discussion
16:01 - Coding Bottom Up + Time & Space Discussion

📲 Follow Me On
🔹 LinkedIn:   / hirenjoshi1630  
🔹 GitHub: https://github.com/hiren-j
🔹 Instagram:   / cuzvhiren  

Intro Music Credits :-
Song: Blue Boi
Music provided by LAKEY INSPIRED
Video Link:    • LAKEY INSPIRED - Blue Boi  

Outro Music Credits :-
Song: Ikson - New Day (Vlog No Copyright Music)
Music provided by Vlog No Copyright Music.
Music Video:    • Ikson - New Day (Vlog No Copyright Music)  

🔔 Subscribe, Like & Share For More Series / Videos Like This.