From cdfd761d87941034feb64a10cfa298577a067a0f Mon Sep 17 00:00:00 2001 From: Marina S <138340846+bt3gl-google@users.noreply.github.com> Date: Sun, 30 Jul 2023 21:43:36 -0700 Subject: [PATCH] Create README.md --- dynamic_programming/README.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 dynamic_programming/README.md diff --git a/dynamic_programming/README.md b/dynamic_programming/README.md new file mode 100644 index 0000000..c7d8416 --- /dev/null +++ b/dynamic_programming/README.md @@ -0,0 +1,13 @@ +## dynamic programming + +
+ +* 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. + +
+ +---