Mountain Scenes | Dynamic Programming

  Рет қаралды 10,339

WilliamFiset

WilliamFiset

Күн бұрын

Пікірлер: 15
@amanthapliyal2636
@amanthapliyal2636 4 жыл бұрын
Great Explanation of the concept! Was able to understand both Recursive way and then why we could use DP!
@satyajitdas2780
@satyajitdas2780 4 жыл бұрын
Thanks. William. Perfect explanation. Looking for more DP problems.
@piyushnaithani7689
@piyushnaithani7689 4 жыл бұрын
Awesome, after a long time I see a nice DP problem solver on youtube
@mzmzgreen
@mzmzgreen 4 жыл бұрын
Awesome explanation! Could you please analyze the time/space complexity of the algorithms you're showing?
@ramkrishnakulkarni8289
@ramkrishnakulkarni8289 4 жыл бұрын
100th like. Absolutely loved the video. Waiting for more videos on dp.
@bazgo-od7yj
@bazgo-od7yj 6 ай бұрын
8:23 why does it say 11, not10?
@afzalsiddique7165
@afzalsiddique7165 4 жыл бұрын
12:42 -> Why "ribbon < 0"? And not "ribbon
@rahulsangvikar7973
@rahulsangvikar7973 2 жыл бұрын
Because ribbon = 0 is fine. We can skip the current column completely. But we can't add negative ribbon to the column
@mgehad
@mgehad 3 жыл бұрын
Hey Thank you for your efforts. May I ask you. - is it possible to mod the plain scenes count then subtract the total from the plain or its gonna cause errors?
@polysimplifed
@polysimplifed 4 ай бұрын
why not just calculate the number of all possible combinations, and then subtract with the unqualified solutions?
@CrystalSergeant
@CrystalSergeant 4 жыл бұрын
next time please provide bottom up approach is it is harder to get.
@giorgos-4515
@giorgos-4515 4 жыл бұрын
13:08 thats a dp technique called memoization there is a great video from codecamporg that illustrates it perfectly
@lenlen8099
@lenlen8099 3 жыл бұрын
To me dp comes from memoization
@giorgos-4515
@giorgos-4515 3 жыл бұрын
@@lenlen8099 i mean dp is mostly recursion and recursion can get costly so it makes sense,just not entirely.(if it was any kind of joke it went completely over my head)
Narrow Art Gallery | Dynamic Programming
20:51
WilliamFiset
Рет қаралды 10 М.
Tiling problems [1/2] | Dynamic Programming
16:38
WilliamFiset
Рет қаралды 40 М.
Сестра обхитрила!
00:17
Victoria Portfolio
Рет қаралды 958 М.
VIP ACCESS
00:47
Natan por Aí
Рет қаралды 30 МЛН
Chain Game Strong ⛓️
00:21
Anwar Jibawi
Рет қаралды 41 МЛН
Sparse Table Data Structure
23:18
WilliamFiset
Рет қаралды 32 М.
Magic Cows | Dynamic Programming | Adhoc | Interview problem
16:13
WilliamFiset
Рет қаралды 48 М.
Real 10x Programmers Are SLOW To Write Code
14:51
Thriving Technologist
Рет қаралды 69 М.
Lowest Common Ancestor (LCA) Problem | Eulerian path method
17:02
WilliamFiset
Рет қаралды 46 М.
Premature Optimization
12:39
CodeAesthetic
Рет қаралды 845 М.
2 Years of C++ Programming
8:20
Zyger
Рет қаралды 237 М.
Tiling problems [2/2] | Dynamic Programming
15:38
WilliamFiset
Рет қаралды 13 М.
C++ vs Rust: which is faster?
21:15
fasterthanlime
Рет қаралды 409 М.
5 Simple Steps for Solving Dynamic Programming Problems
21:27
Reducible
Рет қаралды 1,1 МЛН
Mastering Dynamic Programming - How to solve any interview problem (Part 1)
19:41