Загрузка...

L11 - Multi Dimensional DP | Gold Mine Problem | 2D DP | Bottom Up 6 Ways | Intuition Building

Today in Lecture 11 of Multi Dimensional DP (GRID DP), we solve GFG (MEDIUM). Gold Mine Problem using 2D Dynamic Programming with a focus on intuition building. The three-direction movement from each cell shapes the recurrence and through this problem, we 𝗜𝗡𝗧𝗥𝗢𝗗𝗨𝗖𝗘 𝗟𝗢𝗢𝗣𝗦 𝗜𝗡 𝗔 𝗦𝗜𝗠𝗣𝗟𝗘, 𝗜𝗡𝗧𝗨𝗜𝗧𝗜𝗩𝗘 𝗪𝗔𝗬 along with we will be discussing 𝟲 𝗗𝗜𝗙𝗙𝗘𝗥𝗘𝗡𝗧 𝗕𝗢𝗧𝗧𝗢𝗠-𝗨𝗣 𝗔𝗣𝗣𝗥𝗢𝗔𝗖𝗛𝗘𝗦 to understand optimization [ 𝗜𝗡𝗖𝗟𝗨𝗗𝗘𝗦 𝗢(𝟭) 𝗦𝗣𝗔𝗖𝗘 𝗢𝗣𝗧𝗜𝗠𝗜𝗭𝗔𝗧𝗜𝗢𝗡 𝗔𝗣𝗣𝗥𝗢𝗔𝗖𝗛 ] choices clearly. Learn Recursion ⮕ Memoization ⮕ Tabulation ⮕ Space Optimization and build your DP foundation in Hindi.

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

⮕ Problem Link: https://www.geeksforgeeks.org/problems/gold-mine-problem2608/1
⮕ Code Link: https://github.com/hiren-j/dsaAffection/blob/C%2B%2B/Dynamic%20Programming/Multi%20Dimensional%20DP/17%20-%20Gold%20Mine%20Problem/Gold%20Mine%20Problem.cpp

Welcome back to the ULTIMATE DP SERIES in HINDI | vHiren DP Series
This series is designed to help you master Dynamic Programming for coding interviews. 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

🔍 What sets this series apart :-
⮕ 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) 🛠️.
⮕ Diagrammatic Explanations, For Example: Tree Diagrams, etc 🤯.
⮕ Detailed time and space complexity note on the recursive solutions ⏱️..
⮕ 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.

Video Chapters :-
0:00 - Understanding The Problem
2:37 - How Problem Give Hints To Think Recursive
2:50 - Approaching Recursion
8:59 - Recursive Code
10:05 - Recursion Time + Approaching DP
10:56 - Coding Memoization + Time Space Discussion
17:50 - Coding Bottom Up + Time Space Discussion

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

Your Queries :-
vhiren dp series
ultimate dp series
dp series in hindi
dynamic programming hindi tutorial
learn dp fast, dp roadmap 2025
dynamic programming playlist
coding interview dp questions
dp patterns explained hindi
dp for beginners
recursion to dp roadmap
data structures and algorithms dp
vhiren dynamic programming

⚠️ Disclaimer:
This video is created for educational purposes only.
All concepts, explanations, and examples are made by the creator to help students understand Dynamic Programming better.
No copyrighted content or third-party material has been used intentionally.
Any resemblance to other tutorials is purely coincidental.
© vHiren — All Rights Reserved.

Intro Music Credits :-
Song: Blue Boi
Music provided by LAKEY INSPIRED
Video Link: https://youtu.be/wAukvwLCVbM?si=s7o652Zq2xEl14fV

#DynamicProgramming #DPSeries
#vHiren #CodingInHindi #DSAinHindi
#CodingInterviewPrep

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

Видео L11 - Multi Dimensional DP | Gold Mine Problem | 2D DP | Bottom Up 6 Ways | Intuition Building канала vHiren
Яндекс.Метрика
Все заметки Новая заметка Страницу в заметки
Страницу в закладки Мои закладки
На информационно-развлекательном портале SALDA.WS применяются cookie-файлы. Нажимая кнопку Принять, вы подтверждаете свое согласие на их использование.
О CookiesНапомнить позжеПринять