Dynamic Programming | Set 3 (Longest Increasing Subsequence) | GeeksforGeeks

preview_player
Показать описание

This video is contributed by Kanika Gautam.
Рекомендации по теме
Комментарии
Автор

Thank you ;
The hardwork behind slides and detailed and ellobaration of algorithm is really appreciated ;

dronaacharya
Автор

After 6 years, still, GFG videos are valuable and to the point.

I didn't want to watch long videos, I solved this problem some time ago.
This is just hitting the nail at every timestamp.

No second is wasted.

Thanks @GeeksforGeeks.


🧡 from remote.

killeraloo
Автор

Have been struggling with dynamic programming and recursive solutions confused the hell out of me though they have better time complexity.So, great job on explaining the concept very clearly. Perhaps 1 of the best explanation of the impl of a dynamic programming solution.

vijay
Автор

LOGIC FOR L I S [ I ] < L I S [J] + 1


lis[i] denotes the current max value stored and if the lis[j]+1 is greater than that then only we will update the lis[i].

praharshsingh
Автор

Thank you for making a short video with a quick demonstration

doodledicemonsters
Автор

nice .. easy to understand .. JAI HIND

skhafizulislam
Автор

wow, thanks a lot for this clear and patient explanation and the visuals!

rmiliming
Автор

3 years down the line and they modified the question with the condition that difference between adjacent elements of the longest sub sequence must also be increasing!

Krato
Автор

superb explanation. I have been struggling to get an idea of this. But now i am clear. Thanks a lot

bhargavacharan
Автор

Excellent work, explained in short time in efficient way

nirjharroy
Автор

Finest explanation i have seen for this problem so far. Thank you

muralivideos
Автор

Very good explanation, but please avoid calling the function Lis() and the temp array also lis[] this is bad programming practice.

GDBthest
Автор

It is the worst explanation that I saw. She is just talking instead of showing what she is doing.

yaseminakturk
Автор

The explanation is okay but the solution is of O(n*n). But for GFG the solution has to be of O(n*logn).

saisrinivassinu
Автор

good explanation sir, keep it up 👍👍🙂🙂

SmartProgramming
Автор

short and simple solution. nicely done.

dipakprajapati
Автор

What if as output is not only required length but also an array with a solution for that LIS.

TheJuancar
Автор

thank you. this video solved a problem which i have trying to solve for a long time.

vikaschoubey
Автор

amazingly discussed and explained everything .. keep up the good work guys ..

md.nahiyanuddin
Автор

madam please explain by bactracking also

banglarbairebangali
welcome to shbcf.ru