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

แชร์
ฝัง
  • เผยแพร่เมื่อ 11 ธ.ค. 2024

ความคิดเห็น • 53

  • @IhavelicensetoDrive
    @IhavelicensetoDrive 3 ปีที่แล้ว +1

    God, the way you explain these problem makes them so much easier to understand. Thanks!

  • @subbaramanvenkateswaran2548
    @subbaramanvenkateswaran2548 4 ปีที่แล้ว +3

    Excellent presentation, analysis and implementation of these problems. Looking forward to more from daily coding problems. Thanks a lot.

  • @joshi6688
    @joshi6688 4 ปีที่แล้ว +2

    You are great Michael..your videos really helps a lot...keep uploading more videos...love from India.

  • @akshatpahwa534
    @akshatpahwa534 3 ปีที่แล้ว

    This is one of the best video, I ever watched on TH-cam. I wish you have more subscribers.

  • @SachinDevatarTechie
    @SachinDevatarTechie 4 ปีที่แล้ว +1

    The explanation is Amazing, Please make more videos. I shared your channel at my university so that it will be helpful with amazing content.

  • @mangoman2023
    @mangoman2023 3 ปีที่แล้ว

    You are awesome. Your explaination makes it very easy to understand these problems. Thank you very much for making these videos.

  • @yitingg7942
    @yitingg7942 4 ปีที่แล้ว +1

    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.

  • @sarvesh97
    @sarvesh97 4 ปีที่แล้ว +1

    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 5 หลายเดือนก่อน

    Thank you Michael, so helpful

  • @mettudheeraj1393
    @mettudheeraj1393 4 ปีที่แล้ว +1

    Great explanation sir continue your amazing work

  • @hnkien
    @hnkien 3 ปีที่แล้ว +1

    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.

  • @niva6338
    @niva6338 6 หลายเดือนก่อน

    I
    love the presentation

  • @antonio609
    @antonio609 3 ปีที่แล้ว

    thank you Michael, your explanation is really good

  • @AnshulSharma-vw9wu
    @AnshulSharma-vw9wu 4 ปีที่แล้ว +1

    very nice explanation. Thanks

  • @soumeshnayak4546
    @soumeshnayak4546 2 ปีที่แล้ว

    thxn for awesome videos sir your coding style is best

  • @theusurper
    @theusurper 2 ปีที่แล้ว

    Excellent explanation...Thank you bunch

  • @svalyavasvalyava9867
    @svalyavasvalyava9867 3 ปีที่แล้ว

    thank you a lot for the effort you put into your videos!!!

  • @robertsedgewick1266
    @robertsedgewick1266 3 ปีที่แล้ว

    Great explanation, you made it very intuitive. Thanks for sharing!

  • @testingDhippiuh
    @testingDhippiuh 4 ปีที่แล้ว +1

    Thanks for sharing

  • @samuelsam5868
    @samuelsam5868 3 ปีที่แล้ว

    Good explanation and Presentation.

  • @drh2
    @drh2 หลายเดือนก่อน

    Thank you man. This was a terribly confusing exercise for me.

  • @tomladdus9264
    @tomladdus9264 4 ปีที่แล้ว +2

    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

  • @luomin1130
    @luomin1130 3 ปีที่แล้ว

    I like your video, you give very nice explanation.

  • @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?

  • @sayantaniguha8519
    @sayantaniguha8519 2 ปีที่แล้ว +1

    What is the difference b/w this Q and *Largest Rectangle in Histogram* ?

  • @shrikantshelar5044
    @shrikantshelar5044 4 ปีที่แล้ว +1

    awesome

  • @_7__716
    @_7__716 2 ปีที่แล้ว

    Good stuff. Noticed you always pre-increment. Any reason why?

  • @Anubis10110
    @Anubis10110 2 ปีที่แล้ว

    You are amazing

  • @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

  • @manasbolt
    @manasbolt 4 ปีที่แล้ว

    pls upload rotten egg problem... Thanks in advance :))