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 e48b94f

Browse files
Merge pull request youngyangyang04#2251 from jinbudaily/master
更新 修复代码随想录公开课不完善问题
2 parents 5df6ab7 + c17e5a9 commit e48b94f

21 files changed

+45
-15
lines changed

‎problems/0027.移除元素.md‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -444,4 +444,3 @@ public class Solution {
444444
<a href="https://programmercarl.com/other/kstar.html" target="_blank">
445445
<img src="../pics/网站星球宣传海报.jpg" width="1000"/>
446446
</a>
447-

‎problems/0028.实现strStr.md‎

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,16 +27,16 @@
2727
当 needle 是空字符串时,我们应当返回什么值呢?这是一个在面试中很好的问题。
2828
对于本题而言,当 needle 是空字符串时我们应当返回 0 。这与C语言的 strstr() 以及 Java的 indexOf() 定义相符。
2929

30+
## 算法公开课
3031

31-
## 思路
32-
33-
本题是KMP 经典题目。
34-
35-
以下文字如果看不进去,可以看我的B站视频:
32+
本题是KMP 经典题目。以下文字如果看不进去,可以看[《代码随想录》算法视频公开课](https://programmercarl.com/other/gongkaike.html),相信结合视频再看本篇题解,更有助于大家对本题的理解。
3633

3734
* [帮你把KMP算法学个通透!B站(理论篇)](https://www.bilibili.com/video/BV1PD4y1o7nd/)
3835
* [帮你把KMP算法学个通透!(求next数组代码篇)](https://www.bilibili.com/video/BV1M5411j7Xx)
3936

37+
38+
## 思路
39+
4040
KMP的经典思想就是:**当出现字符串不匹配时,可以记录一部分之前已经匹配的文本内容,利用这些信息避免从头再去做匹配。**
4141

4242
本篇将以如下顺序来讲解KMP,
@@ -1362,3 +1362,4 @@ impl Solution {
13621362
<a href="https://programmercarl.com/other/kstar.html" target="_blank">
13631363
<img src="../pics/网站星球宣传海报.jpg" width="1000"/>
13641364
</a>
1365+

‎problems/0042.接雨水.md‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,10 @@
2828
* 输入:height = [4,2,0,3,2,5]
2929
* 输出:9
3030

31+
## 算法公开课
32+
33+
**[《代码随想录》算法视频公开课](https://programmercarl.com/other/gongkaike.html):[单调栈,经典来袭!LeetCode:42.接雨水](https://www.bilibili.com/video/BV1uD4y1u75P/),相信结合视频在看本篇题解,更有助于大家对本题的理解**
34+
3135

3236
## 思路
3337

@@ -1029,4 +1033,3 @@ impl Solution {
10291033
<a href="https://programmercarl.com/other/kstar.html" target="_blank">
10301034
<img src="../pics/网站星球宣传海报.jpg" width="1000"/>
10311035
</a>
1032-

‎problems/0045.跳跃游戏II.md‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -469,4 +469,3 @@ impl Solution {
469469
<a href="https://programmercarl.com/other/kstar.html" target="_blank">
470470
<img src="../pics/网站星球宣传海报.jpg" width="1000"/>
471471
</a>
472-

‎problems/0059.螺旋矩阵II.md‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -744,4 +744,3 @@ end
744744
<a href="https://programmercarl.com/other/kstar.html" target="_blank">
745745
<img src="../pics/网站星球宣传海报.jpg" width="1000"/>
746746
</a>
747-

‎problems/0062.不同路径.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -559,3 +559,4 @@ public class Solution
559559
<a href="https://programmercarl.com/other/kstar.html" target="_blank">
560560
<img src="../pics/网站星球宣传海报.jpg" width="1000"/>
561561
</a>
562+

‎problems/0063.不同路径II.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -739,3 +739,4 @@ object Solution {
739739
<a href="https://programmercarl.com/other/kstar.html" target="_blank">
740740
<img src="../pics/网站星球宣传海报.jpg" width="1000"/>
741741
</a>
742+

‎problems/0084.柱状图中最大的矩形.md‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@
2020
* 1 <= heights.length <=10^5
2121
* 0 <= heights[i] <= 10^4
2222

23+
## 算法公开课
24+
25+
**[《代码随想录》算法视频公开课](https://programmercarl.com/other/gongkaike.html):[单调栈,又一次经典来袭! LeetCode:84.柱状图中最大的矩形](https://www.bilibili.com/video/BV1Ns4y1o7uB/),相信结合视频再看本篇题解,更有助于大家对本题的理解**
26+
2327
## 思路
2428

2529
本题和[42. 接雨水](https://programmercarl.com/0042.接雨水.html),是遥相呼应的两道题目,建议都要仔细做一做,原理上有很多相同的地方,但细节上又有差异,更可以加深对单调栈的理解!

‎problems/0115.不同的子序列.md‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@
2121
* 0 <= s.length, t.length <= 1000
2222
* s 和 t 由英文字母组成
2323

24+
## 算法公开课
25+
26+
**[《代码随想录》算法视频公开课](https://programmercarl.com/other/gongkaike.html):[动态规划之子序列,为了编辑距离做铺垫 | LeetCode:115.不同的子序列](https://www.bilibili.com/video/BV1fG4y1m75Q/),相信结合视频在看本篇题解,更有助于大家对本题的理解**
2427

2528
## 思路
2629

‎problems/0209.长度最小的子数组.md‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -563,4 +563,3 @@ public class Solution {
563563
<a href="https://programmercarl.com/other/kstar.html" target="_blank">
564564
<img src="../pics/网站星球宣传海报.jpg" width="1000"/>
565565
</a>
566-

0 commit comments

Comments
(0)

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