dynamic programming lecture
This commit is contained in:
parent
80eae13431
commit
5663e07456
18
370/notes/dynamic.md
Normal file
18
370/notes/dynamic.md
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
# """"Dynamic Programming""""
|
||||||
|
|
||||||
|
|
||||||
|
> Take a large problem
|
||||||
|
> Break it up
|
||||||
|
> Solve the pieces
|
||||||
|
/lecture
|
||||||
|
|
||||||
|
|
||||||
|
# Definitions
|
||||||
|
|
||||||
|
_Recursive dynamic programming_
|
||||||
|
: Memoization a.k.a. top-down approach
|
||||||
|
: Go from big problems and build downward
|
||||||
|
|
||||||
|
_Tabulation_
|
||||||
|
: Bottom up approach
|
||||||
|
: Go from little problems and build up
|
Loading…
Reference in New Issue
Block a user