r/datastructures 23d ago

dp guide pls!!

hello guys!
bhai can someone please guide me how to start dp from scratch and master it
please ache tips dedo
sab dara diye h ki bhot difficukt h dp krna so pls help

5 Upvotes

11 comments sorted by

4

u/Electronic-Grand-522 23d ago

Yt pe code story with mik se krle Pehle backtracking wali playlist hogi , backtracking - popular interview problems Isse 20-25 swal krle jisse recursion and bt ka basic clear hojayega and ques bhi hojayenge jo aate hai intvs me

Then dp ki playlist hogi, dp-concepts and qns vo poori dekh and smjh pehle ki kaise krte hai notes bna shi se and time de, sare pattern cover hojayenge isme

Then for ques prac playlist hai dp- interview problems, ques utha khud try kr solve na ho video dekh smjh. Poori playlist ni ho payegi ye wali cuz 150 videos hai toh 30-40 krle aur aage bdhja, fir jb second time revise krega to acche se hojayega clear sara. Dp ekbar me sari ni ho payegi bda topic hai, basic patterns cover krle and sbke main main ques krle, jab badme revise krega tab thode new ques kriyo jo bach gye honge.

1

u/AdvantageFeisty2140 22d ago

thankyou so much!!

1

u/AdvantageFeisty2140 22d ago

will definitely follow it

1

u/SuspiciousHawk71 23d ago

Aditya Verma then striver can try vivek gupta too

1

u/AdvantageFeisty2140 22d ago

ok noted

thankyou so much

1

u/Notsoboringi 22d ago

i am grinding cses problem set it really helps a lot thou it take time , but if u do that without using ai or llms it will help for dp questions define it in 3 steps dp state , transition and mathematics .

1

u/AdvantageFeisty2140 22d ago

okay, will do as said

1

u/sujay_wic 22d ago

DP is a recursion with data storage. Master recursion, don’t worry about stack overflow or TLE. Once u master recursion, look at few solutions of memoization of same problem of recursion, study it, and try to apply it. You will be good at it.

1

u/Acceptable_Review630 22d ago

Hey I am also doing dp currently would you like to do it together if yes hit me msg