1639. Number of Ways to Form a Target String Given a Dictionary || Dynamic Programming

แชร์
ฝัง
  • เผยแพร่เมื่อ 17 ม.ค. 2025

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

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

    C++/Java/Python Code & Notes: drive.google.com/file/d/1m5N7ZZlD-EcyDUqcj_jdHgkzbcBnCD1a/view?usp=share_link

  • @viveksangwan1821
    @viveksangwan1821 ปีที่แล้ว +5

    I didn't understand the backward iteration part.

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

      I didn't understand anything...will have to watch it 2-3 times i guess.

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

      Yaa, its’s bottom up approach is a bit tricky to understand but will for sure strengthen the bottom up thinking - Top Down is pretty easy to grasp,so will make sure to tell Top Down from next time 🙃 [ Just a quick hack, do dry run on a few examples if you don’t get at the 2nd go also - Any which ways it’s actually a good problem for Bottom Up]

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

      Bhai Hindi me bola karo yaar english me nhi samjha pata hai

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

      @@ARYANMITTAL better if you explain in hindi

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

    Very well explained ❤

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

    Bro although it was a bit difficult to grab everything at once but your way of speaking and explaining is justttt fabulous 👏🏻✨. Keep it up bro🔥

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

    Took long time to understand the backward loop for j, even editorial showed the 2d dp approach.
    even though i got the point, but it would take a lot of practice problems to get this space optmized approach

  • @saksham.malhotra
    @saksham.malhotra 19 วันที่ผ่านมา

    Saying that setting dp[0] to 1 just so that the multiplication is not zero is a totally wrong statement. The correct statement is, "dp[0] is empty string and there is one way by which we can get an empty string which is by selecting nothing from the words array"

  • @watchmovies5854
    @watchmovies5854 20 วันที่ผ่านมา

    Couldnt understand

  • @ArihantJain-qj6ex
    @ArihantJain-qj6ex 6 หลายเดือนก่อน

    Please make the notes accessible.

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

    please keep explanation simple .. didn't understand

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

    Kuch smjh nhi aaya