You are viewing a single comment's thread. Return to all comments →
This produces wrong answer in some of the tests.
Here is the video tutorial for my solution O(n+m) complexity.
Would really appreciate your feedback like and comment etc. on my video.
It is a good video. I understood the algorithm clearly.
but it would be great if you can please provide your comments, like, dislike on my video how i did it..It motivates me to create better content for my audience.
Could you add subtitles? I tried watching it but couldn't quite understand your accent through the audio
I appologize for my bad sound quality but i am trying to improve it.
but it will be very difficult to add subtitle for this video because its around half an hour which explains all the concepts in deep.
Making this long video took lot of effort and time now adding a subtitle will be very tedious without any support.
Will suggest you to try automatic transcribe feature from youtube to translate it.
Anyway thanks for watching.
I have added subtitle for this tutorial and I hope it will you to understand logic with more clarity.
I had the same issue. my mistake was decrementing lower and upper. you don't decrement upper, the difference array needs to show it went down AFTER then last index, not within.