From 9b24f3cdefe2ee2ca10eb97c2cef4224cd864622 Mon Sep 17 00:00:00 2001
From: jinbudaily <18336218010@163.com>
Date: Wed, 26 Jul 2023 14:56:48 +0800
Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=200070.=E7=88=AC=E6=A5=BC?=
=?UTF-8?q?=E6=A2=AF=20=E6=8E=92=E7=89=88=E6=A0=BC=E5=BC=8F=E4=BF=AE?=
=?UTF-8?q?=E5=A4=8D?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
problems/0070.爬楼梯.md | 5 +++--
problems/0070.爬楼梯完全背包版本.md | 14 +++++++-------
2 files changed, 10 insertions(+), 9 deletions(-)
diff --git a/problems/0070.爬楼梯.md b/problems/0070.爬楼梯.md
index 1b24e491..1a1f7e31 100644
--- a/problems/0070.爬楼梯.md
+++ b/problems/0070.爬楼梯.md
@@ -29,9 +29,9 @@
* 1 阶 + 2 阶
* 2 阶 + 1 阶
-# 视频讲解
+## 算法公开课
-**《代码随想录》算法视频公开课:[带你学透动态规划-爬楼梯|LeetCode:70.爬楼梯)](https://www.bilibili.com/video/BV17h411h7UH),相信结合视频在看本篇题解,更有助于大家对本题的理解**。
+**[《代码随想录》算法视频公开课](https://programmercarl.com/other/gongkaike.html):[带你学透动态规划-爬楼梯|LeetCode:70.爬楼梯)](https://www.bilibili.com/video/BV17h411h7UH),相信结合视频在看本篇题解,更有助于大家对本题的理解**。
## 思路
@@ -522,3 +522,4 @@ impl Solution {
+
diff --git a/problems/0070.爬楼梯完全背包版本.md b/problems/0070.爬楼梯完全背包版本.md
index 8c85985f..4ca7a371 100644
--- a/problems/0070.爬楼梯完全背包版本.md
+++ b/problems/0070.爬楼梯完全背包版本.md
@@ -127,8 +127,8 @@ public:
## 其他语言版本
+### Java:
-Java:
```java
class Solution {
public int climbStairs(int n) {
@@ -148,7 +148,7 @@ class Solution {
}
```
-Python3:
+### Python3:
```python
@@ -166,8 +166,8 @@ class Solution:
return dp[n]
```
+### Go:
-Go:
```go
func climbStairs(n int) int {
//定义
@@ -189,7 +189,8 @@ func climbStairs(n int) int {
}
```
-JavaScript:
+### JavaScript:
+
```javascript
var climbStairs = function(n) {
const dp = new Array(n + 1).fill(0);
@@ -206,7 +207,7 @@ var climbStairs = function(n) {
};
```
-TypeScript:
+### TypeScript:
```typescript
function climbStairs(n: number): number {
@@ -226,7 +227,7 @@ function climbStairs(n: number): number {
};
```
-Rust:
+### Rust:
```rust
impl Solution {
@@ -250,4 +251,3 @@ impl Solution {
-