Skip to content

Commit 80db96b

Browse files
authored
feat: 使用新浪图床🛏️
1 parent cf13f9f commit 80db96b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

problems/518.coin-change-2.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,11 @@ https://leetcode-cn.com/problems/coin-change-2/description/
4040

4141
我们还是按照 coin-change 的思路来, 如果将问题画出来大概是这样:
4242

43-
![coin-change-2](../assets/problems/coin-change-2.png)
43+
![](https://tva1.sinaimg.cn/large/0082zybply1gcb7ezp3juj30fi0c1ta6.jpg)
4444

4545
进一步我们可以对问题进行空间复杂度上的优化(这种写法比较难以理解,但是相对更省空间)
4646

47-
![coin-change-2-opt](../assets/problems/coin-change-2-opt.png)
47+
![](https://tva1.sinaimg.cn/large/0082zybply1gcb7fc1qtvj30ix0ay0u8.jpg)
4848

4949
> 这里用动图会更好理解, 有时间的话我会做一个动图出来, 现在大家脑补一下吧
5050
@@ -89,7 +89,7 @@ return dp[dp.length - 1][coins.length];
8989

9090
- 当我们选择一维数组去解的时候,内外循环将会对结果造成影响
9191

92-
![coin-change-2-wrong](../assets/problems/coin-change-2-wrong.png)
92+
![](https://tva1.sinaimg.cn/large/0082zybply1gcb7fjfon6j30j00bddh2.jpg)
9393

9494
eg:
9595

0 commit comments

Comments
 (0)