Wow! What a lecture. I have been trying to grasp this algorithm for a long time and it was pretty hard. I finally got it after this brilliant explanation. Thanks so much, Professor! One thing I wanted to mention is that after some trying to get it working on my machine, I learnt that access to x and y strings should be @ index i-1 and not i since we increase the size of dp array by 1
@pushkarsoni89275 жыл бұрын
Thank you so much, sir, this was exactly I was looking for, other videos on youtube just taught how to fill the table whether to go diagonal or up or left but didn't explain the formula behind, but you explained to the point. I am grateful. Thanks, Love from India.
@umairalvi73823 жыл бұрын
If i was in his class i would never ever miss or jump his class. Literally never. Students having professors like him are so lucky
@mabenyjohnson6908 Жыл бұрын
Thank you so much Professor Ghassan. You are gifted in teaching!
@aghavvikas4 жыл бұрын
Thank you so much. Don't stop uploading videos. Forever grateful.
@gsb224 жыл бұрын
I knew the solution to this already but the way he explained is so intuitive. @14:00 It was so awesome.
@kushinbunte4 жыл бұрын
I've been grateful for your uploadings, many thanks to the professor for demystifying the dynamic programming technique, wish you all the best!
@ritwik1213 жыл бұрын
the best explanation of longest common substring. Thank you sir
@vermoidvermoid71245 жыл бұрын
best session on common substring problem. Thanks you sir.
@Aman-gw7ro4 жыл бұрын
Thank you so much for uploading this..only video which explains everything about LCS
@jlgak05 жыл бұрын
This is the clearest and best explanation that I've met! Thank you very much for sharing this with us.
@-Mohamed_bayan2 жыл бұрын
The best prof. ever
@obinnaubah90454 жыл бұрын
This is definitely the best explanation I've seen yet
@NStriker133 жыл бұрын
You explain so well!
@mageshp59984 жыл бұрын
Thanks prof, wonder how equals cases is possible in the nested else at 38:00?
@biswajeetsethi76895 жыл бұрын
n0w i underst00d the c0ncet f DP , thank y0u
@aimiliosdraginis31784 жыл бұрын
Biswajeet sethi ....wheon “o” key doesnt work.
@umairalvi73823 жыл бұрын
Shouldn't the complexity of constructing LCS(longest common subsequence) should Min(m,n) because there is an && in while loop so which ever i or j becomes 0 first that is how much time loop will be executed. Correct me if wrong
@ghassanshobakicomputerscie94783 жыл бұрын
No, that's not true, because they don't get both decremented in each iteration of the loop. In some iterations, only one of them will get decremented and we don't know which one.
@umairalvi73823 жыл бұрын
@@ghassanshobakicomputerscie9478 got it sir thank you so so so much for replying and uploading these lectures. You are an extremely knowledgeable person please never stop uploading.