LeetCode's _Solutions_ section is full of "3 lines of code" posts, but nobody there can explain how this Dynamic Progrmng pattern actually works. Even the official _Editorial_ doesn't explain the process. Your solution here is not in 3 lines of code, but it helped me realize what is actually happening here and how the entire DP pattern works. Thank you so much, man, and God Bless us all in this new Sun's Cycle 🙏💗🌟
@rsaisiddhu9 күн бұрын
Thank you so much💗
@Rahuldudi134915 күн бұрын
level 4 was a lit 😅
@rsaisiddhu15 күн бұрын
@@Rahuldudi1349 😅
@Rahuldudi134915 күн бұрын
Thaks bro, I'm following you please keep it on..
@rsaisiddhu15 күн бұрын
@@Rahuldudi1349 thank you brother
@sivaprasath-n9e15 күн бұрын
very nice explanation bro thank you explain input output in leetcode question bro
@rsaisiddhu15 күн бұрын
@@sivaprasath-n9e thank you brother... ☺️
@aayushkumar510721 күн бұрын
1st
@Chandrasekkhar-mz2mn26 күн бұрын
Good sir
@rsaisiddhu26 күн бұрын
@@Chandrasekkhar-mz2mn thank you ☺️
@dp2120Ай бұрын
You also don't explain *why* binary search is a good idea or why you came to that conclusion and you don't write up the algorithm. Unfortunately, this video was not useful at all to help me understand the problem.
@rsaisiddhuАй бұрын
@@dp2120 will consider your feedback bro... Thank you
@dp2120Ай бұрын
It would help if you explained more instead of just stating things. For example, it's not clear to me why storing the difference array would be O(n^2) space complexity? Wouldn't it be O(n + n) -> O(n) because it's 2 arrays of len(nums)?
@rsaisiddhuАй бұрын
@@dp2120 I agree with you brother.. thank you for your feedback
@AnkitKumar-nz1hsАй бұрын
your explanation is good and to the point
@rsaisiddhuАй бұрын
@@AnkitKumar-nz1hs thank you brother
@jvinay2210Ай бұрын
keep it up
@rsaisiddhuАй бұрын
@@jvinay2210 thank you
@nipunsaiyanamadalaАй бұрын
Rey Siddhu Nuvvu Thopu ra!!!!😃
@rsaisiddhuАй бұрын
@@nipunsaiyanamadala thank you ra nipun
@MO-fg2cmАй бұрын
Bhai, you could have just put a screenshot of your laptop screen na it would be helpful for people who just want to see the code and not explaination
@rsaisiddhuАй бұрын
@@MO-fg2cm will be doing that from next videos brother
@navicharan4999Ай бұрын
Keep going buddy! Nice explanation
@rsaisiddhuАй бұрын
@@navicharan4999 thank you
@devsumitgАй бұрын
Great explanation 👍
@rsaisiddhuАй бұрын
thank you
@rsaisiddhuАй бұрын
Remember to initialise preSum with long long datatype To avoid runtime error As the sum would be greater
@dipanshu_0199Ай бұрын
giving runtime or compile time error at some places , also presum should be long long datatype.