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]
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
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"
C++/Java/Python Code & Notes: drive.google.com/file/d/1m5N7ZZlD-EcyDUqcj_jdHgkzbcBnCD1a/view?usp=share_link
I didn't understand the backward iteration part.
I didn't understand anything...will have to watch it 2-3 times i guess.
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]
Bhai Hindi me bola karo yaar english me nhi samjha pata hai
@@ARYANMITTAL better if you explain in hindi
Very well explained ❤
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🔥
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
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"
Couldnt understand
Please make the notes accessible.
please keep explanation simple .. didn't understand
Kuch smjh nhi aaya