I just got asked this question, completely failed it, now I found your video, wish I had seen it before the interview. Actually mine was harder, they want the area of the water subtracting out the area of the towers.
Dude, you are one of the best ones at these type of videos. Love watching your solutions. Could you cover leetcode 523 and new year chaos from hackerrank?
How does one come to the conclusion that I would move the pointer with a smaller height forward/backward? Is it something like We have the product of length * width, so when we move our pointers they will result in decreased width anyway, to keep the product same or increase it we need to increase the other parameter which is height in this case. Would that be a valid reason to convince me to move toward this solution? Because there was no hypothesis and proofing done before choosing the larger height, I am a bit confused
God, the way you explain these problem makes them so much easier to understand. Thanks!
Excellent presentation, analysis and implementation of these problems. Looking forward to more from daily coding problems. Thanks a lot.
Thanks so much!
You are great Michael..your videos really helps a lot...keep uploading more videos...love from India.
Thank you so much!
This is one of the best video, I ever watched on TH-cam. I wish you have more subscribers.
Wow, thank you!
The explanation is Amazing, Please make more videos. I shared your channel at my university so that it will be helpful with amazing content.
Wow thank you! That makes me so happy
You are awesome. Your explaination makes it very easy to understand these problems. Thank you very much for making these videos.
You are awesome!! please do more videos like this!!
Nobody explains it better than you do!
Thank you! Will do!
Thank you!
@@AlgosWithMichael Hi Michael, can you please do another one for 394 decode String ? I can't understand the other videos like yours.
Thanks for the amazing content!! You definitely deserve more subscribers🔥
That is nice of you to say, I appreciate that!
Thank you Michael, so helpful
Great explanation sir continue your amazing work
Thanks so much!
Incase of height(l) = height(r), you do l+1 and r-1. This may not right and you can miss a case for better maximum if only do l+1 or r-1 at one side.
Exactly we did not cover every case, and if we did, it was not done by us voluntarily.
I
love the presentation
thank you Michael, your explanation is really good
very nice explanation. Thanks
You are welcome!
thxn for awesome videos sir your coding style is best
Excellent explanation...Thank you bunch
Thank you!
thank you a lot for the effort you put into your videos!!!
Great explanation, you made it very intuitive. Thanks for sharing!
No problem!
Thanks for sharing
Thanks for watching!
Good explanation and Presentation.
Thank you!
Thank you man. This was a terribly confusing exercise for me.
No problem!
I just got asked this question, completely failed it, now I found your video, wish I had seen it before the interview. Actually mine was harder, they want the area of the water subtracting out the area of the towers.
It's a tough problem, don't feel bad man
I like your video, you give very nice explanation.
Thank you! 😃
Dude, you are one of the best ones at these type of videos. Love watching your solutions. Could you cover leetcode 523 and new year chaos from hackerrank?
Thank you very much! and yea sure
What is the difference b/w this Q and *Largest Rectangle in Histogram* ?
awesome
Thanks!
Good stuff. Noticed you always pre-increment. Any reason why?
You are amazing
How does one come to the conclusion that I would move the pointer with a smaller height forward/backward?
Is it something like
We have the product of length * width, so when we move our pointers they will result in decreased width anyway, to keep the product same or increase it we need to increase the other parameter which is height in this case. Would that be a valid reason to convince me to move toward this solution?
Because there was no hypothesis and proofing done before choosing the larger height, I am a bit confused
pls upload rotten egg problem... Thanks in advance :))
As soon as possible