Paint House - Dynamic Programming - Leetcode 256 - Python

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

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

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

    💡 DP PLAYLIST: th-cam.com/video/73r3KWiEvyk/w-d-xo.html

  • @sunnilabeouf
    @sunnilabeouf 3 ปีที่แล้ว +31

    Hey man, just wanted to say thank you for putting the time in to make these videos! They've been super helpful and I was able to secure a google offer as a result :)

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

      Congrats, You deserve it! I'm happy the videos were helpful.

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

      Congrats man!

  • @JC-hj3sn
    @JC-hj3sn 2 ปีที่แล้ว +6

    Probably the best explanation out of LeetCode discussions and TH-cam Videos combined.
    I love these visuals. Keep it up!

  • @JaskeeratBrar
    @JaskeeratBrar 19 วันที่ผ่านมา

    Thanks a lot for your channel. I've always hated doing leetcode but knowing that your solution videos exist makes life a lot easier.

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

    Love the part that you said "what does the cache tell us? why do we have it"
    Really inspiring and engaging video! Thank you!!

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

    Best Explanation I have ever come across. Subscribed.

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

    Hey dude. you explain things nicely. Let's do leetcode 2158 too if possible. Thanks

  • @iamnoob7593
    @iamnoob7593 5 ชั่วโมงที่ผ่านมา

    Thanks neetcode

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

    It really makes me wordless. Very amazing, can't speak more

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

    Brilliant as always!

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

    Good explanation and elegant solution

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

    Thanks my friend, your videos are just amazing :)

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

    @neetcode, shouldn't the brute force time complexity be 3^n ? It's 3 choices, n times.

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

    Dude you da man!

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

    Hey man, first of all, thank you very much for making these! I just wanted to ask why is this algorithm correct? I can't wrap my brain around it

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

    Awesome explanation. Even a dumb head like myself could understand

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

    Would you consider this problem under 0/1 knapsack pattern?

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

    Hey buddy i watch all your videos can you clear .whether all dp problems can be memorized or not ??

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

    What if the number of color also varies ? can we solve it in similar way ?

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

    thanks

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

    Annyone has recursive solution for this???

  • @itoroukpong1107
    @itoroukpong1107 ปีที่แล้ว

    wow. just wow

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

    I solved this in codechef

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

    please solve todays leetcode challenge. It is very tough . Please bro