Max Sum of Rectangle No Larger Than K | Leetcode 363 | Approach + Code | Hard | C++ | Python
VloĆŸit
- Äas pĆidĂĄn 2. 07. 2021
- C++ Code Link : github.com/Ayu-99/Data-Struct...
Python Code Link: github.com/Ayu-99/Data-Struct...
Please like, share and subscribe if you found the video useful. Feel free to ask in comments section if you have any doubts. :)
#leetcode
#leetcodeJulyChallenge
#interviewpreparation
Max Sum of Rectangle No Larger Than K solution
Max Sum of Rectangle No Larger Than K Leetcode
Max Sum of Rectangle No Larger Than K C++
Max Sum of Rectangle No Larger Than K C++ Hindi
Max Sum of Rectangle No Larger Than K Hindi
Checkout the series: đ„đ„đ„
đ Recursion : âą Recursion
đ Stack and Queue : âą Stack And Queue
đ Greedy : âą Greedy
đ Leetcode contests : âą Leetcode contests
đ Leetcode June Challenge : âą Leetcode June Challenge
đ Leetcode July Challenge : âą Leetcode July Challenge
LIKE | SHARE | SUBSCRIBE đ„đ„đ
Keep uploading đđ
Suređđ
Hi Ayushi, you are already considering the lower bound to get the value equivalent to k. Then why are you taking max of res? cant you directly take res every iteration?
It depends on the values because we have both positive and negative values in the array. So, it's better to take max of current res and the new value
Nicely explained, just fell in love with your teaching skills â€ïž
Thank you so much keep up the good work đ
Thank you so much Suvam đ€
I have one doubt in this why we cant switch the rows and col i hope you got it what i want to say like you took l and r for a col i can do it for rows also but it is giving wrong answer what was the intution to take the column
kaash mujhe aapke jese teacher mill jaate đđ
If possible cover biweekly and sunday contest questions too sister :)
Yesterday their was two interesting questions so try to cover contests too if possible
okay, will do.Thanks :)
brialiant
If possible please make video on decode a string recursively gfg problem
Sure. Noted
Waah Didi ji Waah... â
Thanks Amit :)
thank you :)
welcome :)
thanks
Welcome :)
getting tle in java
java code?
đ Pura din lg jata h intuition me?
Thank you :)
Yaar bohot accha explain Kiya hai ek ek approach detail Mai with complexity ke sath...... Mujhe nhi lagta ki isse accha explanation ho sakta hai...... đđ Master đđ
Thank you Amit. Means a lotđđ»đ
kuch bhi
ĐĐžĐŽĐ”ĐŸ ĐżĐŸĐŽĐżĐžŃĐ°ĐœĐŸ ĐœĐ° Đ°ĐœĐłĐ»ĐžĐčŃĐșĐŸĐŒ ĐœĐŸ ĐłĐŸĐČĐŸŃŃŃ ĐœĐ° ĐŽŃŃĐłĐŸĐŒ
Your cpp code is giving tle !
Hi, can you please check again. It is getting accepted. :)
@@AyushiSharmaDSA idk,maybe it was mistake on my part ,Anyways its now getting ac .And thanks you explained very well:)
@@tushar_agarwal_it_2nd_a_477 no worries tushar. Thanks you đ
@Tushar_Agarwal_IT_2nd_A_47 you have to get code yourself, You can understand the logic from here.