Skip to content

Commit

Permalink
更新 0509.斐波那契数 排版格式修复
Browse files Browse the repository at this point in the history
  • Loading branch information
jinbudaily committed Jul 26, 2023
1 parent 6ed304e commit b295b12
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions problems/0509.斐波那契数.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ F(n) = F(n - 1) + F(n - 2),其中 n > 1

* 0 <= n <= 30

# 视频讲解
## 算法公开课

**《代码随想录》算法视频公开课:[手把手带你入门动态规划 | leetcode:509.斐波那契数](https://www.bilibili.com/video/BV1f5411K7mo),相信结合视频在看本篇题解,更有助于大家对本题的理解**
**[《代码随想录》算法视频公开课](https://programmercarl.com/other/gongkaike.html)[手把手带你入门动态规划 | leetcode:509.斐波那契数](https://www.bilibili.com/video/BV1f5411K7mo),相信结合视频在看本篇题解,更有助于大家对本题的理解**

## 思路

Expand Down Expand Up @@ -278,7 +278,7 @@ class Solution:
return self.fib(n - 1) + self.fib(n - 2)
```

### Go
### Go
```Go
func fib(n int) int {
if n < 2 {
Expand Down Expand Up @@ -479,3 +479,4 @@ public class Solution
<a href="https://programmercarl.com/other/kstar.html" target="_blank">
<img src="../pics/网站星球宣传海报.jpg" width="1000"/>
</a>

0 comments on commit b295b12

Please sign in to comment.