Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 11f8d34

Browse files
committed
修正内容错误
1 parent cf32c19 commit 11f8d34

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎docs/08_dynamic_programming/08_01_dynamic_programming_basic.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222

2323
下面我们先来通过一个简单的例子来介绍一下什么是动态规划算法,然后再来讲解动态规划中的各种术语。
2424

25-
> **斐波那契数列**:数列由 $f(0) = 1, f(1) = 2$ 开始,后面的每一项数字都是前面两项数字的和。也就是:
25+
> **斐波那契数列**:数列由 $f(0) = 0, f(1) = 1$ 开始,后面的每一项数字都是前面两项数字的和。也就是:
2626
>
2727
> $f(n) = \begin{cases} 0 & n = 0 \cr 1 & n = 1 \cr f(n - 2) + f(n - 1) & n > 1 \end{cases}$
2828

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /