更新图床

This commit is contained in:
programmercarl
2023-03-10 14:02:32 +08:00
parent 2a9b627a90
commit 17cb4b45c7
134 changed files with 1169 additions and 829 deletions

View File

@@ -1,5 +1,4 @@
# 本周小结!(贪心算法系列四)
## 周一
@@ -10,7 +9,7 @@
如图:
![452.用最少数量的箭引爆气球](https://img-blog.csdnimg.cn/20201123101929791.png)
![452.用最少数量的箭引爆气球](https://code-thinking-1253855093.file.myqcloud.com/pics/20201123101929791-20230310133845522.png)
模拟射气球的过程,很多同学真的要去模拟了,实时把气球从数组中移走,这么写的话就复杂了,从前向后遍历重复的只要跳过就可以的。
@@ -22,7 +21,7 @@
如图:
![435.无重叠区间](https://img-blog.csdnimg.cn/20201221201553618.png)
![435.无重叠区间](https://code-thinking-1253855093.file.myqcloud.com/pics/20201221201553618.png)
细心的同学就发现了,此题和 [贪心算法:用最少数量的箭引爆气球](https://programmercarl.com/0452.用最少数量的箭引爆气球.html)非常像。
@@ -31,6 +30,7 @@
把[贪心算法:用最少数量的箭引爆气球](https://programmercarl.com/0452.用最少数量的箭引爆气球.html)代码稍做修改就可以AC本题。
修改后的C++代码如下:
```CPP
class Solution {
public:
@@ -71,7 +71,7 @@ public:
如图:
![763.划分字母区间](https://img-blog.csdnimg.cn/20201222191924417.png)
![763.划分字母区间](https://code-thinking-1253855093.file.myqcloud.com/pics/20201222191924417-20230310133855435.png)
## 周四
@@ -86,7 +86,7 @@ public:
如图
![56.合并区间](https://img-blog.csdnimg.cn/20201223200632791.png)
![56.合并区间](https://code-thinking-1253855093.file.myqcloud.com/pics/20201223200632791-20230310133859587.png)
## 总结