auto commit
This commit is contained in:
parent
210349d814
commit
9a87542af7
BIN
docs/notes/pics/11550465817827.gif
Normal file
BIN
docs/notes/pics/11550465817827.gif
Normal file
Binary file not shown.
After Width: | Height: | Size: 11 KiB |
BIN
docs/notes/pics/1_2001550465428749.png
Normal file
BIN
docs/notes/pics/1_2001550465428749.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 20 KiB |
BIN
docs/notes/pics/21550465890674.gif
Normal file
BIN
docs/notes/pics/21550465890674.gif
Normal file
Binary file not shown.
After Width: | Height: | Size: 13 KiB |
@ -510,6 +510,8 @@ public class Solution {
|
||||
|
||||
一只青蛙一次可以跳上 1 级台阶,也可以跳上 2 级。求该青蛙跳上一个 n 级的台阶总共有多少种跳法。
|
||||
|
||||
<div align="center"> <img src="pics/1_2001550465428749.png"/> </div><br>
|
||||
|
||||
## 解题思路
|
||||
|
||||
```java
|
||||
@ -535,6 +537,8 @@ public int JumpFloor(int n) {
|
||||
|
||||
我们可以用 2\*1 的小矩形横着或者竖着去覆盖更大的矩形。请问用 n 个 2\*1 的小矩形无重叠地覆盖一个 2\*n 的大矩形,总共有多少种方法?
|
||||
|
||||
<div align="center"> <img src="pics/11550465817827.gif"/> </div><br>
|
||||
|
||||
## 解题思路
|
||||
|
||||
```java
|
||||
@ -560,6 +564,8 @@ public int RectCover(int n) {
|
||||
|
||||
一只青蛙一次可以跳上 1 级台阶,也可以跳上 2 级... 它也可以跳上 n 级。求该青蛙跳上一个 n 级的台阶总共有多少种跳法。
|
||||
|
||||
<div align="center"> <img src="pics/21550465890674.gif"/> </div><br>
|
||||
|
||||
## 解题思路
|
||||
|
||||
### 动态规划
|
||||
|
BIN
docs/pics/11550465817827.gif
Normal file
BIN
docs/pics/11550465817827.gif
Normal file
Binary file not shown.
After Width: | Height: | Size: 11 KiB |
BIN
docs/pics/1_2001550465428749.png
Normal file
BIN
docs/pics/1_2001550465428749.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 20 KiB |
BIN
docs/pics/21550465890674.gif
Normal file
BIN
docs/pics/21550465890674.gif
Normal file
Binary file not shown.
After Width: | Height: | Size: 13 KiB |
Loading…
x
Reference in New Issue
Block a user