L12 - 1D DP | Jump Game 2 | LeetCode 45 | Recursion | Memoization | Tabulation

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

Today in Lecture 12, we solve LeetCode 45 (MEDIUM). Jump Game II problem using 1D Dynamic Programming. The need to minimize jumps highlights how each position’s reach influences the next decision layer, shaping a progression strategy that leads to the minimum number of moves.

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

⮕ Problem Link: https://leetcode.com/problems/jump-ga...
⮕ 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
0:59 - Prerequisites (MOST IMPORTANT)
1:10 - How Problem Give Hints To Think Recursive
1:35 - Approaching Recursion
4:40 - Recursion Code
5:31 - Recursion Time + Approaching DP
5:52 - Coding Memoization + Time & Space Discussion
8:14 - 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.