update readme.md

This commit is contained in:
ranwenjie
2021-11-07 00:16:03 +08:00
parent 3a88447c9d
commit 00136b91f9
6 changed files with 68 additions and 17 deletions
+1 -1
View File
@@ -5,7 +5,7 @@
在 `递推` 阶段,将大的问题分解成小的问题
在 `回归` 阶段,获得最简单问题的解后,逐级返回,依次得到稍微复杂情况的解,知道获得最终的结果
1) 确定递归公式
1) 确定递归公式 , 比如 斐波那契数列 问题中的 `fib(n)=fib(n-1)+fib(n-2)`
2) 确定边界条件
> 自顶向下的递归,自底向上是迭代