Maximum Sum Increasing Subsequence Dynamic Programming

preview_player
Показать описание
Given an array, find maximum sum increasing subsequence in this array.
Рекомендации по теме
Комментарии
Автор

This is the quickest and easiest explanation for Maxiumun Sum ... Thank you

ObsaSiyo
Автор

Thank you Tushar, (Gautam Gambhir).
tushar-How do we solve this problem?
me- Let me guess, it is inside Dynamic Programming Playlist, so DP.
tushar-Yes, We will use, Dp
me-I knew it! Im a genius

t_min_o
Автор

Thank you for your videos. Dynamic programming is the hardest thing I've ever had to learn.

Pyropter
Автор

awesome explanation sir, thank you, keep it up 👍👍👍👍🙂🙂🙂🙂

SmartProgramming
Автор

"Tushar the dynamic programmer" :P

shubhamagrawal
Автор

can u please explain the proof rather than the algo

srinathtangudu
Автор

Thanks Tushar!! Greats series on DP. One quick question, in your code you make T array= length+1 and then you adjust your logic to compensate this extra. Why not map 1-1 inputArray and T array. for(int i=1; i < T.length; i++){
for(int j = 0; j <i; j++){
if(arr[i] > arr[j]){
T[i] = Math.max(T[i], T[j] + arr[i]);
}
}

BaljitDeot
Автор

Thanks for the great videos. I like the step by step walk through of the algorithm.

Joemakatozi
Автор

You should be in apple 😋 you are geneous 😊

viralindian
Автор

you did great job very easy understandable

SangHwaJung
Автор

In my Dreams full of Tushor Videos....

KirubaEbenezer
Автор

Great videos... really helpful :)...can you mention the time complexity analysis also in your videos at the end?

shallysh
Автор

But this solution is O(n^2). Can't it be done in O(n) ?

codevlogger
Автор

Can't you also talk about the idea of code.why we are really doing these things?

akshatjain
Автор

Kadane's Algorithm : please one on this by the time u would make it I would know it but for others

sameerranjan
Автор

Great tutorials! I have a request, can you cover some NP complete problems and theory! Thanks!

mayurkulkarni
Автор

Nice explanation ! but can't figure where Dynamic Programming occurred

SanjitKumar-hwhd
Автор

Isn't the max sub-array is the array itself? There are no negative values in this array.

ihsana
Автор

I come here to see the recurrence relation...That's it🤣🤣😂😂

The_Promised_Neverland...
Автор

Can this considered as EREW PRAM algorithm?

rawanalfar