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 9b24f3c

Browse files
更新 0070.爬楼梯 排版格式修复
1 parent b295b12 commit 9b24f3c

File tree

2 files changed

+10
-9
lines changed

2 files changed

+10
-9
lines changed

‎problems/0070.爬楼梯.md‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@
2929
* 1 阶 + 2 阶
3030
* 2 阶 + 1 阶
3131

32-
#视频讲解
32+
## 算法公开课
3333

34-
**《代码随想录》算法视频公开课:[带你学透动态规划-爬楼梯|LeetCode:70.爬楼梯)](https://www.bilibili.com/video/BV17h411h7UH),相信结合视频在看本篇题解,更有助于大家对本题的理解**
34+
**[《代码随想录》算法视频公开课](https://programmercarl.com/other/gongkaike.html):[带你学透动态规划-爬楼梯|LeetCode:70.爬楼梯)](https://www.bilibili.com/video/BV17h411h7UH),相信结合视频在看本篇题解,更有助于大家对本题的理解**
3535

3636

3737
## 思路
@@ -522,3 +522,4 @@ impl Solution {
522522
<a href="https://programmercarl.com/other/kstar.html" target="_blank">
523523
<img src="../pics/网站星球宣传海报.jpg" width="1000"/>
524524
</a>
525+

‎problems/0070.爬楼梯完全背包版本.md‎

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -127,8 +127,8 @@ public:
127127
128128
## 其他语言版本
129129
130+
### Java:
130131
131-
Java:
132132
```java
133133
class Solution {
134134
public int climbStairs(int n) {
@@ -148,7 +148,7 @@ class Solution {
148148
}
149149
```
150150

151-
Python3:
151+
### Python3:
152152

153153

154154
```python
@@ -166,8 +166,8 @@ class Solution:
166166
return dp[n]
167167
```
168168

169+
### Go:
169170

170-
Go:
171171
```go
172172
func climbStairs(n int) int {
173173
//定义
@@ -189,7 +189,8 @@ func climbStairs(n int) int {
189189
}
190190
```
191191

192-
JavaScript:
192+
### JavaScript:
193+
193194
```javascript
194195
var climbStairs = function(n) {
195196
const dp = new Array(n + 1).fill(0);
@@ -206,7 +207,7 @@ var climbStairs = function(n) {
206207
};
207208
```
208209

209-
TypeScript:
210+
### TypeScript:
210211

211212
```typescript
212213
function climbStairs(n: number): number {
@@ -226,7 +227,7 @@ function climbStairs(n: number): number {
226227
};
227228
```
228229

229-
Rust:
230+
### Rust:
230231

231232
```rust
232233
impl Solution {
@@ -250,4 +251,3 @@ impl Solution {
250251
<a href="https://programmercarl.com/other/kstar.html" target="_blank">
251252
<img src="../pics/网站星球宣传海报.jpg" width="1000"/>
252253
</a>
253-

0 commit comments

Comments
(0)

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