3122. Minimum Number of Operations to Satisfy Conditions | DP & Not Greedy

  Рет қаралды 4,605

Aryan Mittal

Aryan Mittal

Күн бұрын

Пікірлер: 21
@iamnoob7593
@iamnoob7593 2 ай бұрын
UNDERSTOOD , This was not a typical standard Recursion/dp question , I think this question needs to be marked as HARD. Thanks for the wonderful explanation.
@ayushtandon1719
@ayushtandon1719 2 ай бұрын
Good Explaination
@Syed_Shifat
@Syed_Shifat 6 ай бұрын
I regularly wait for your videos after the contest to solve the problems that I couldn't solve there. Keep up the good work, man;
@devmadaan5146
@devmadaan5146 6 ай бұрын
never worry for any engagement issues ! i will always be with u :)
@tanveeralam3971
@tanveeralam3971 5 ай бұрын
amazing explanation hats off to you
@harshdiwase1941
@harshdiwase1941 6 ай бұрын
bro , your explanation was superb , gonna try it by myself now , Thank you for the video
@HighOctane-k4m
@HighOctane-k4m 6 ай бұрын
thank you sir to clear our concept
@simranray4564
@simranray4564 6 ай бұрын
thanks for providing such a detailed explaination, 'was much needed++
@apputadhiyal9451
@apputadhiyal9451 6 ай бұрын
Thanks for the explanation!
@uzairkhan-zq7fh
@uzairkhan-zq7fh 6 ай бұрын
Very detailed explanation thanks aryan
@ameerkhan5054
@ameerkhan5054 6 ай бұрын
Superb ❤
@ARYANMITTAL
@ARYANMITTAL 6 ай бұрын
Updated Discord Link - discord.gg/vwUAz2pEHZ ❤ . Practice Greedy - kzbin.info/aero/PLEL7R4Pm6EmDVCYD5EkNv08vSOC4kA1_z Practice DP - kzbin.info/aero/PLEL7R4Pm6EmCXe8803IBAPWVsHlTVrtOp
@IK-xk7ex
@IK-xk7ex 6 ай бұрын
Thank you for the video, but I'm still stuck to convert TopDown solution to BottomUp. I understand what we need to have 2D array, which [rows][10] and fill it Int.max. But then I have no idea what to do :)
@silverpoision
@silverpoision 6 ай бұрын
Bro I am confused about the time complexity. If at every index we call the recursive function 8 times then the time complexity of the function should be 9^m na? Please explain me what I am missing because I have read some blogs on calculating time complexity of recursive functions and this is what they exactly say.
@IK-xk7ex
@IK-xk7ex 6 ай бұрын
We use cache, that reduce the time complexity. So you have to calculate each combination only and only once.
@IK-xk7ex
@IK-xk7ex 6 ай бұрын
Without caching (vector dp) you will repeat calculations for the same combinations again and again.
@ashutoshraj7171
@ashutoshraj7171 6 ай бұрын
what if, if you only provide the solution (iff)
@nagasrisaichaitanyakolluri8173
@nagasrisaichaitanyakolluri8173 6 ай бұрын
🎉🎉thanks bro
@dhruvrawatt9
@dhruvrawatt9 6 ай бұрын
01:42
@dileepkumar-hm5wk
@dileepkumar-hm5wk 6 ай бұрын
Not clear
@dhruvrawatt9
@dhruvrawatt9 6 ай бұрын
support++
Trick-or-Treating in a Rush. Part 2
00:37
Daniel LaBelle
Рет қаралды 45 МЛН
Real Man relocate to Remote Controlled Car 👨🏻➡️🚙🕹️ #builderc
00:24
The IMPOSSIBLE Puzzle..
00:55
Stokes Twins
Рет қаралды 130 МЛН
BUILDING A NOTE TAKING APP PART - 6
ezLive
Рет қаралды 173
3085. Minimum Deletions to Make String K-Special | DP | Hash Table
16:14
310. Minimum Height Trees | BFS | Topological Sort | Graphs
24:47
Trick-or-Treating in a Rush. Part 2
00:37
Daniel LaBelle
Рет қаралды 45 МЛН