mirror of
https://github.com/autistic-symposium/master-algorithms-py.git
synced 2025-05-22 16:31:15 -04:00
Update README.md
This commit is contained in:
parent
b7475a8481
commit
0e5c36f426
1 changed files with 4 additions and 5 deletions
|
@ -2,11 +2,10 @@
|
|||
|
||||
<br>
|
||||
|
||||
* dynamic programming is the process of taking a recursive algorithm and cache overlapping problems (repeated calls).
|
||||
* the runtime is given by the number of calls.
|
||||
* **top-down**: how can we divide the problem into sub-problems?
|
||||
* top-down dynamic programming is called **memoization**.
|
||||
* **bottom-up**: solve for a simple case, then figure out for more elements.
|
||||
* dynamic programming is the process of taking a recursive algorithm and cache overlapping problems (repeated calls). the runtime is given by the number of calls.
|
||||
* **top-down** (**memoization**): how can we divide the problem into sub-problems?
|
||||
* **bottom-up** (**tabulation**): solve for a simple case, then figure out for more elements.
|
||||
|
||||
|
||||
<br>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue