FAANG Coding Interview Question - Container With Most Water (LeetCode)

  Рет қаралды 8,450

AlgosWithMichael

AlgosWithMichael

Күн бұрын

Пікірлер: 53
@IhavelicensetoDrive
@IhavelicensetoDrive 3 жыл бұрын
God, the way you explain these problem makes them so much easier to understand. Thanks!
@subbaramanvenkateswaran2548
@subbaramanvenkateswaran2548 4 жыл бұрын
Excellent presentation, analysis and implementation of these problems. Looking forward to more from daily coding problems. Thanks a lot.
@AlgosWithMichael
@AlgosWithMichael 4 жыл бұрын
Thanks so much!
@akshatpahwa534
@akshatpahwa534 3 жыл бұрын
This is one of the best video, I ever watched on KZbin. I wish you have more subscribers.
@AlgosWithMichael
@AlgosWithMichael 3 жыл бұрын
Wow, thank you!
@joshi6688
@joshi6688 4 жыл бұрын
You are great Michael..your videos really helps a lot...keep uploading more videos...love from India.
@AlgosWithMichael
@AlgosWithMichael 4 жыл бұрын
Thank you so much!
@SachinDevatarTechie
@SachinDevatarTechie 4 жыл бұрын
The explanation is Amazing, Please make more videos. I shared your channel at my university so that it will be helpful with amazing content.
@AlgosWithMichael
@AlgosWithMichael 4 жыл бұрын
Wow thank you! That makes me so happy
@mangoman2023
@mangoman2023 3 жыл бұрын
You are awesome. Your explaination makes it very easy to understand these problems. Thank you very much for making these videos.
@sarvesh97
@sarvesh97 4 жыл бұрын
Thanks for the amazing content!! You definitely deserve more subscribers🔥
@AlgosWithMichael
@AlgosWithMichael 4 жыл бұрын
That is nice of you to say, I appreciate that!
@Piggybacking
@Piggybacking 4 ай бұрын
Thank you Michael, so helpful
@hnkien
@hnkien 3 жыл бұрын
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.
@anshumansolanki6775
@anshumansolanki6775 Жыл бұрын
Exactly we did not cover every case, and if we did, it was not done by us voluntarily.
@antonio609
@antonio609 3 жыл бұрын
thank you Michael, your explanation is really good
@mettudheeraj1393
@mettudheeraj1393 4 жыл бұрын
Great explanation sir continue your amazing work
@AlgosWithMichael
@AlgosWithMichael 4 жыл бұрын
Thanks so much!
@yitingg7942
@yitingg7942 4 жыл бұрын
You are awesome!! please do more videos like this!!
@yitingg7942
@yitingg7942 4 жыл бұрын
Nobody explains it better than you do!
@AlgosWithMichael
@AlgosWithMichael 4 жыл бұрын
Thank you! Will do!
@AlgosWithMichael
@AlgosWithMichael 4 жыл бұрын
Thank you!
@yitingg7942
@yitingg7942 4 жыл бұрын
@@AlgosWithMichael Hi Michael, can you please do another one for 394 decode String ? I can't understand the other videos like yours.
@svalyavasvalyava9867
@svalyavasvalyava9867 3 жыл бұрын
thank you a lot for the effort you put into your videos!!!
@niva6338
@niva6338 6 ай бұрын
I love the presentation
@AnshulSharma-vw9wu
@AnshulSharma-vw9wu 4 жыл бұрын
very nice explanation. Thanks
@AlgosWithMichael
@AlgosWithMichael 4 жыл бұрын
You are welcome!
@robertsedgewick1266
@robertsedgewick1266 3 жыл бұрын
Great explanation, you made it very intuitive. Thanks for sharing!
@AlgosWithMichael
@AlgosWithMichael 3 жыл бұрын
No problem!
@soumeshnayak4546
@soumeshnayak4546 2 жыл бұрын
thxn for awesome videos sir your coding style is best
@theusurper
@theusurper 2 жыл бұрын
Excellent explanation...Thank you bunch
@AlgosWithMichael
@AlgosWithMichael 2 жыл бұрын
Thank you!
@tomladdus9264
@tomladdus9264 4 жыл бұрын
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.
@AlgosWithMichael
@AlgosWithMichael 4 жыл бұрын
It's a tough problem, don't feel bad man
@drh2
@drh2 Ай бұрын
Thank you man. This was a terribly confusing exercise for me.
@AlgosWithMichael
@AlgosWithMichael 7 күн бұрын
No problem!
@sayantaniguha8519
@sayantaniguha8519 2 жыл бұрын
What is the difference b/w this Q and *Largest Rectangle in Histogram* ?
@samuelsam5868
@samuelsam5868 3 жыл бұрын
Good explanation and Presentation.
@AlgosWithMichael
@AlgosWithMichael 3 жыл бұрын
Thank you!
@testingDhippiuh
@testingDhippiuh 4 жыл бұрын
Thanks for sharing
@AlgosWithMichael
@AlgosWithMichael 4 жыл бұрын
Thanks for watching!
@caminante4222
@caminante4222 3 жыл бұрын
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?
@AlgosWithMichael
@AlgosWithMichael 3 жыл бұрын
Thank you very much! and yea sure
@luomin1130
@luomin1130 3 жыл бұрын
I like your video, you give very nice explanation.
@AlgosWithMichael
@AlgosWithMichael 3 жыл бұрын
Thank you! 😃
@_7__716
@_7__716 2 жыл бұрын
Good stuff. Noticed you always pre-increment. Any reason why?
@anshumansolanki6775
@anshumansolanki6775 Жыл бұрын
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
@shrikantshelar5044
@shrikantshelar5044 4 жыл бұрын
awesome
@AlgosWithMichael
@AlgosWithMichael 4 жыл бұрын
Thanks!
@Anubis10110
@Anubis10110 2 жыл бұрын
You are amazing
@manasbolt
@manasbolt 4 жыл бұрын
pls upload rotten egg problem... Thanks in advance :))
@AlgosWithMichael
@AlgosWithMichael 4 жыл бұрын
As soon as possible
Time Based Key Value Store | Netflix Coding Question | Binary Search
14:21
Coding Interview Prep | 3 MUST KNOW Graph Problem Tips
13:27
AlgosWithMichael
Рет қаралды 18 М.
Lazy days…
00:24
Anwar Jibawi
Рет қаралды 6 МЛН
Из какого города смотришь? 😃
00:34
МЯТНАЯ ФАНТА
Рет қаралды 2,6 МЛН
Amazon Coding Interview Question - First Missing Positive (LeetCode)
20:47
Trapping Rain Water - Google Interview Question - Leetcode 42
23:21
Medium Google Coding Interview With Ben Awad
51:27
Clément Mihailescu
Рет қаралды 1,3 МЛН
Container with Most Water - Leetcode 11 - Python
12:37
NeetCode
Рет қаралды 365 М.
Amazon Coding Question - Insert Delete GetRandom O(1)
11:54
AlgosWithMichael
Рет қаралды 11 М.
Google Coding Question - Making a Large Island (Hard)
25:11
AlgosWithMichael
Рет қаралды 16 М.
Minimum Window Substring | Sliding Window | LeetCode
18:00
AlgosWithMichael
Рет қаралды 40 М.