Update README.md

This commit is contained in:
Marina S 2023-07-30 21:43:03 -07:00 committed by GitHub
parent 22adc6f880
commit f5490128cd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,16 +1,4 @@
## math, logic, dynamic programming ## math
<br>
### dynamic programming
<br>
* take 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.
<br> <br>