Dynamic Programming - Longest Common Subsequence

preview_player
Показать описание
In this video, I show an example of solving the Longest Common Subsequence problem with Dynamic Programming.
Рекомендации по теме
Комментарии
Автор

Best explanation, you have even told how these paths are building and we are finding the common alphabets. THANKS

SportTechNomad
Автор

Thank you so much! I finally understand how we get that table(or two matrix) step by step! This is the best explanation I found!

approachableGoals
Автор

Thank You Very Much.
You explained the whole thing brilliantly.

LaRosmarinus
Автор

thank you, I finally get it. The chapter from the book explaining this was a nightmare

kernadan
Автор

Thank you very much.You explained superbly where the plus one was coming from. chawa

mugauricalvin
Автор

very clear and easy to understand...thank you

deveshkumar
Автор

please add some parts on why the particular algorithm is used ( the logic behind it ) . Describing the logic from CLRS would be helpful.

sunandan
Автор

perfectly what i have been looking for. one suggestion if i can give you...:- explain a bit more in a lay man language.
thanx

shubhamjain
Автор

Also there is a confusion the lectures i have had <--- arrow instead of up arrow when x and y doesn't match but they have same value, this brings change in the result

SportTechNomad
Автор

How would you go about discovering an algorithm such as this?

AaronOrtiz
Автор

isn't there a way to gather the indexes of the subsequence while iterating through the array ?

BlokeBritish
Автор

Dobra pomoc tylko dla początkujących programistów.

grzegorzmajewski
Автор

does it have to have sequence?
see both row and column has DCBA in order
but when i do other exercises, sometimes it does not have the sequence.
am i doing it correctly?

thank you

Pathorkuchimon
Автор

when do we use matrix vs an array in dynamic programming problems?

irvinge
Автор

I don´t understand the logic. What is the logic behind the process?

eduardoPicazzo
Автор

Why do we initialise first row and column with all elements as zero?

vivekpal
Автор

How is this logic explained here is dynamic programming strategy?

LDARSHAN
Автор

this is probably a dumb question but why is it using a matrix?

irvinge