Number of Ways to Form a Target String Given a Dictionary | Leetcode 1639

preview_player
Показать описание
This video explains Number of Ways to Form a Target String Given a Dictionary using the most optimal dynamic programming approach.
----------------------------------------------------------------------------------------------------------------------------------------------------------------
🟣 JOIN our 𝐋𝐈𝐕𝐄 𝐢𝐧𝐭𝐞𝐫𝐯𝐢𝐞𝐰 𝐭𝐫𝐚𝐢𝐧𝐢𝐧𝐠 𝐩𝐫𝐨𝐠𝐫𝐚𝐦 through whatsapp query: +91 8918633037
---------------------------------------------------------------------------------------------------------------------------------------------------------------

Рекомендации по теме
Комментарии
Автор

Thanks for the detailed explanation sir and also for the consistency

baka_man
Автор

Thanks man. This question is quiet similar to yesterdays one based on 0/1 knapsack pattern. That actually helped me solved this one on my own with little help from your explanation.

freecourseplatformenglish
Автор

Thanks for the detailed explanation, well done

ahmedtremo
Автор

I don't know why this channel is not getting that much popularity which it deserve. But one day it will definitely.
I recommend everyone for it.
Very nice explanation.

VISHALMISHRA-ffih
Автор

That is really good explanation..I think it is a very good approach for recursion/dp problems ...most of difficult things are sorted once we draw the rec tree

rakshitshandilya
Автор

Sir, today i attend your live, kindly make community post in future live

SAjithkumar-A
Автор

I tried the n-ary recursion tree + memoization along with freq compression but that also TLE'd at 85/90 test cases. Any idea why is that different than the binary recursion based solution?

GMGLPL
Автор

can anyone explain me in code where we check that the target[tpos] and the words[0 to wordsize-1] is equal or not.
for myself it is check all and include all and exclude all . if you have beter understanding . explain to me .

pijushbarai
Автор

how to build intution to solve these kind of problems??

godFather--bg
Автор

sir apki consistency ko naman🙏

But ek baat ha ki subah subah hi solution paros dete ho, bigaad rhe ho thoda 😅

manu-singh