mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-09-06 16:01:41 +08:00
存量题库数据更新
This commit is contained in:
@@ -8,7 +8,7 @@ F(n) = F(n - 1) + F(n - 2), for n > 1.
|
||||
<p>Given <code>n</code>, calculate <code>F(n)</code>.</p>
|
||||
|
||||
<p> </p>
|
||||
<p><strong>Example 1:</strong></p>
|
||||
<p><strong class="example">Example 1:</strong></p>
|
||||
|
||||
<pre>
|
||||
<strong>Input:</strong> n = 2
|
||||
@@ -16,7 +16,7 @@ F(n) = F(n - 1) + F(n - 2), for n > 1.
|
||||
<strong>Explanation:</strong> F(2) = F(1) + F(0) = 1 + 0 = 1.
|
||||
</pre>
|
||||
|
||||
<p><strong>Example 2:</strong></p>
|
||||
<p><strong class="example">Example 2:</strong></p>
|
||||
|
||||
<pre>
|
||||
<strong>Input:</strong> n = 3
|
||||
@@ -24,7 +24,7 @@ F(n) = F(n - 1) + F(n - 2), for n > 1.
|
||||
<strong>Explanation:</strong> F(3) = F(2) + F(1) = 1 + 1 = 2.
|
||||
</pre>
|
||||
|
||||
<p><strong>Example 3:</strong></p>
|
||||
<p><strong class="example">Example 3:</strong></p>
|
||||
|
||||
<pre>
|
||||
<strong>Input:</strong> n = 4
|
||||
|
Reference in New Issue
Block a user