ไม่สามารถเล่นวิดีโอนี้
ขออภัยในความไม่สะดวก

Dynamic Programming Solutions DPV 6.4 Corrupted Doument - (Edited)

แชร์
ฝัง
  • เผยแพร่เมื่อ 24 ธ.ค. 2021
  • How dynamic programming can be used to recover corrupted sentence where punctuations have been lost.
    Please look at this document - bitbucket.org/spandeygit/lear...
    The use of Prev(i) is not required. Prev(i) will remember where the previous word was encountered for a word ending at any location i. Chatgpt generated this code in this link - bitbucket.org/spandeygit/lear...

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

  • @user-md3gf3nx4h
    @user-md3gf3nx4h 6 หลายเดือนก่อน +1

    Thank you for this video! Helped me understand this for my algorithms class.

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

    this is definitely helped me understand the intuition behind this logic but the video was hard to follow due to 1) the choice of font on the slides which makes it extremely hard to differentiate between j and i. And 2) usage of function names like Prev(j) was confusing. Should have named it as a straight fwd variable like prev_j. These choices made this video a bit cryptic and hard to follow.

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

      Please look at this document - bitbucket.org/spandeygit/learn_dp/src/master/DPV_6.4.CorruptedDoc.pdf
      The use of Prev(i) is not required. Prev(i) will remember where the previous word was encountered for a word ending at any location i. Chatgpt generated this code in this link - bitbucket.org/spandeygit/learn_dp/src/master/dpv6.4.py

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

    any example input/outputs?

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

      The video goes through an example "You are a bold one". Do you mean a example code ? I dont have that yet, but could write that for the 2D matrix.