Название | : | DP 22. Coin Change 2 | Infinite Supply Problems | DP on Subsequences |
Продолжительность | : | 22.17 |
Дата публикации | : | |
Просмотров | : | 113 rb |
|
This problem can also be solved using 1D array, we have discussed about it in DP 23 Comment from : @takeUforward |
|
Understood :) Comment from : @manikiran949 |
|
can someone explain me base case in tabular? how to do that and what it does Comment from : @yashwanthsai762 |
|
Understood Comment from : @vineetsingh4707 |
|
recursive, memoization sab likh liya vo bhi khud se aur chal bhi gaya leetcode pe par jab tabulation likha toh galti se pick ko do baar init karne ki vajah se nahi hua fir bohot der baad chatGPT ko diya code toh vo bhol gadhe do baar int pick likha hua hai chalo koi nahi ab ye error bhi yaad rahega brnote: this note is for future me Comment from : @Morimove |
|
"US" Comment from : @Professor-du2pf |
|
you are the real gemthanks man Comment from : @dhanashreegodase4445 |
|
understood Comment from : @iamnoob7593 |
|
UNDERSTOODThank You So Much for this wonderful video🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻 Comment from : @tusharsingh7926 |
|
Understood Thank you so much Comment from : @DevashishJose |
|
Understood!! Comment from : @nithishlelll9664 |
|
Understood! Comment from : @abudanish196 |
|
us Comment from : @rohann8073 |
|
Understood Comment from : @NARUTOUZUMAKI-bk4nx |
|
solved the problem before watching the video✌✌ Comment from : @WasimKhan-fd1ub |
|
I have 3 questions: brbr1) If we are counting total number of ways, would optimal substructure be applied?br2) Is this the same problem statement as Leetcode's Combination Sum 1 and 2 If it is, there I didn't use dp, and they didn't ask to optimizebr3) Instead of write that base case with two if statements, can we just write if(target < 0 || index<0) return 0 ?brbrThanks Comment from : @abhinavkumar7730 |
|
Understood Comment from : @instinct1098 |
|
understood!! Comment from : @gunduboinadileep9523 |
|
"Understood" and thank you! Comment from : @LowkeyCoder |
|
Understood sir Comment from : @santoshb7776 |
|
Understood Perfectly 🎆🔥🔥🔥 Comment from : @AbhishekKumar-cv1dh |
|
us Comment from : @YeaOhYeahh |
|
Understood Comment from : @immortal6978 |
|
us Comment from : @roushansingh2945 |
|
Solved by my own !! yeeeeehhh Comment from : @princekoshti7245 |
|
Understood🎉 Comment from : @jyothiyadav2595 |
|
us Comment from : @priyanshuchandrakar172 |
|
I am able to solve coin change 2,Unbounded Knapsack and Rod cutting problem with memoization ,tabulation and space optimization on my own without watching video Thanks a lot Striver!! Surely the Best DP playlist 🔥🔥🔥 Comment from : @suyashjain3223 |
|
Understood striver bhaiya ✌ -- solve this problem before watching this video 💪💪 Comment from : @rajharsh3739 |
|
Understood 😊 Comment from : @arihantjammar8888 |
|
thnx i did this on my own Comment from : @saumilaggarwal5233 |
|
Understood Comment from : @harshjha6735 |
|
understood Comment from : @verma_jay |
|
Understood Comment from : @sanjitvyas3043 |
|
US Comment from : @godzilla5111 |
|
Understood Comment from : @sumanthreddy9096 |
|
Great Stuff Comment from : @Plams5 |
|
Understood Comment from : @gauravkabdwal309 |
|
understood Comment from : @vashishthsharma4411 |
|
understood ! memoization, tabulation , space optimization all done without watching video Comment from : @satendra6200 |
|
i tried applying the same approach in combination sum 4 but it wont work can anyone tell why Comment from : @utkarshverma3314 |
|
Understood Comment from : @nihalsingh6233 |
|
"us" Comment from : @rayyansyed2998 |
|
US✅ Comment from : @anubhavguptaiiitdharwad5210 |
|
Was able to successfully write both top-down and bottom-up code at once without even starting the videoThanks striver for bringing me till this pointthe journey will continue ✅ Comment from : @sayandey2492 |
|
Understood Comment from : @user-tp2ds2ju4l |
|
Understood Comment from : @premduvvapu476 |
|
Understood!!! Comment from : @ayanangshudasmajumder112 |
|
Understood Comment from : @gaganvishwakarma6494 |
|
solution of leetcode one has a slight change in conditions shouldve explained those as well Comment from : @mohdsameer2445 |
|
what is going to return when index is not reaching to zerobrmeans take case the index will never be zero Comment from : @muslim-wv4hl |
|
Understood Comment from : @praveensahu8906 |
|
Sab sahi hai, but aap jab padhate ho toh essa lagta hai ki matlab bss ghusse me padha rahe hobrBut Great Work !! Comment from : @cartube6219 |
|
us Comment from : @mriduljain5801 |
|
Understood 💯💯💯 Comment from : @lakshmiprasanna7058 |
|
US Comment from : @raushankumar6993 |
|
Understood Comment from : @buildyourown_byu9662 |
|
Understood 😄😄 Comment from : @ShubhamKumar-fn5be |
|
✔✔✔✔ Comment from : @subhamdas943 |
|
Understood :)brJuly'27, 2023 01:05 pmbrbrFirst video afterbrReturned from home on 26, 01:00 am Comment from : @googleit2490 |
|
"Understood" Awesome Comment from : @rahulsidhu5945 |
|
understood if you did! Comment from : @pinksweet5087 |
|
Why didn't we add 1 in the take case? Comment from : @ss-lk2rs |
|
Understood! Comment from : @GoldyAwad |
|
understood Comment from : @abhinanda7049 |
|
us Comment from : @piyushraj5464 |
|
us Comment from : @luckyparihar2394 |
|
Understood Comment from : @sunrise_vlogs_daily |
|
Understand Comment from : @ROKADEADITYA |
|
understood sir brthank you Comment from : @student_03 |
|
Understood brotherbrsolved before seeing the videobrIt's only because of u striver🔥🔥 Comment from : @jaydevkundu554 |
|
Understood! Comment from : @harshitjaiswal9439 |
|
UnderstoodCompleted (22/56) Comment from : @kathanvakharia |
|
understood Comment from : @amarnathgautam478 |
|
Ye to combination sum 1 hai 😊 Comment from : @pratik784 |
|
us Comment from : @siddharthdagar6233 |
|
"Understood Sir" Comment from : @Sonu-tn9lc |
|
Was able to solve it without looking at the videothank you striver😁 Comment from : @user-tn3ni5cv1s |
|
This question is similar to video 20 na ?? Comment from : @Area-fd8ht |
|
Understood Comment from : @ishaanrejra1084 |
|
Comment from : @sparshbarolia1556 |
|
Understood Sir :) Comment from : @aditithakur6226 |
|
I solved this problem on my own with all methods, from the knowledge of previous videosbrThanks Striver Comment from : @sumitkumar5559 |
|
us Comment from : @GopalSingh-gx5jm |
|
understood sir Comment from : @sheethamshvamshi4161 |
|
understood Comment from : @sameekshamurdia5-yeariddph649 |
|
us bro Comment from : @priyabratasingha174 |
|
not seeing from dp 18 , i am able to solve till 22 nothing to say , striver's magic Comment from : @mr-pm9eg |
DP 20. Minimum Coins | DP on Subsequences | Infinite Supplies Pattern РѕС‚ : take U forward Download Full Episodes | The Most Watched videos of all time |
Husband Wife Problems - Marriage Problems - Relationship Problems - Monica Gupta РѕС‚ : Monica Gupta Download Full Episodes | The Most Watched videos of all time |
DP 19. 0/1 Knapsack | Recursion to Single Array Space Optimised Approach | DP on Subsequences РѕС‚ : take U forward Download Full Episodes | The Most Watched videos of all time |
Coin Change Combination Problem Dynamic Programming Explained | Coin Change Minimum Number of Coins РѕС‚ : Pepcoding Download Full Episodes | The Most Watched videos of all time |
EASY GEAR IN INFINITE GALAXY! How to Get Gear FREE in Infinite Galaxy 2021! Flagship Gear Guide F2P РѕС‚ : Omniarch Download Full Episodes | The Most Watched videos of all time |
INFINITE GALAXY BEGINNERS GUIDE 2021! BEST START IN INFINITE GALAXY! РѕС‚ : Omniarch Download Full Episodes | The Most Watched videos of all time |
Turning an HP DPS800GB power supply into an RC Bench Power Supply. Your cheapest power supply option РѕС‚ : DroneRacer101 Download Full Episodes | The Most Watched videos of all time |
FULL BODY Hair Removal *ONLY GUYS* Complete Guide|PERSONAL PROBLEMS| Guy problems | Hindi РѕС‚ : The Formal Edit Download Full Episodes | The Most Watched videos of all time |
Paypal How To Change Currency - How To Change Paypal Primary Currency - Change Default Currency USD РѕС‚ : How To Finance Download Full Episodes | The Most Watched videos of all time |
Total Unique Ways To Make Change - Dynamic Programming ("Coin Change 2" on LeetCode) РѕС‚ : Back To Back SWE Download Full Episodes | The Most Watched videos of all time |