best video i came across on Dynamic programming after going through so many.
@kantancoding9 ай бұрын
Thank you for your comment! I have some more videos on dynamic programming in this playlist. Please let me know what you think 😊
@PoojitTummalapalli4 ай бұрын
i love the way you explained this
@vinitsunita22 күн бұрын
Superb explanation 👏👏
@HarshRaj-yj5gbАй бұрын
Why can't we just take sum of two alternate endings. 1st - start from 1st house and take alternate house sum till end 2nd - do same but start from 2nd house Compare max of both at end and return?
@hawkingradiation37742 жыл бұрын
great video, just wanted to know how did you created the leet template looked really good
@dmitricherleto8234 Жыл бұрын
great explanation! may I ask what font are you using? It's so pretty
@kantancoding Жыл бұрын
Thanks! It’s called agave I believe
@iAmTheWagon2 жыл бұрын
Pretty cool explanation
@GauravDG19908 ай бұрын
I guess it should be dp[i] = max(dp[i-2] + nums[i], dp[i-1]) in for loop. Thanks for the explanation though!
@kantancoding8 ай бұрын
Hmm, I'm not sure what you mean. That's what it is in the video 😆
@GauravDG19907 ай бұрын
Sorry my bad. 🙏🏻
@iAmTheWagon2 жыл бұрын
How'd you type in 2 places at once when you made the method? What plugin is that?
@kantancoding2 жыл бұрын
Google honza/vim-snippets 😉
@XajiDahir2 жыл бұрын
Thank you.
@buddhie12 жыл бұрын
Hi Georgio aka Selikapro, are you open to having a mentee? 😊
@kantancoding2 жыл бұрын
Hey bro. You don’t need a mentor. Just keep grinding 🙂
@buddhie12 жыл бұрын
@@kantancoding Sure will do 😊
@reallylordofnothing6 ай бұрын
I understood this. This version is better than neetcode one. core of the solution is maxWealth[i] = Math.max(maxWealth[i-1], (maxWealth[i-2] + houses[i]));