Skip to content

Commit

Permalink
docs: 更正0459问题中文本的陈述。
Browse files Browse the repository at this point in the history
  • Loading branch information
Poivre-hxx committed Sep 17, 2024
1 parent ee41f4d commit 69a413c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions problems/0459.重复的子字符串.md
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ KMP算法中next数组为什么遇到字符不匹配的时候可以找到上一
如果一个字符串s是由重复子串组成,那么 最长相等前后缀不包含的子串一定是字符串s的最小重复子串。
证明: 如果s 是有是有最小重复子串p组成
证明: 如果s 是由最小重复子串p组成
即 s = n * p
Expand All @@ -179,7 +179,7 @@ KMP算法中next数组为什么遇到字符不匹配的时候可以找到上一
![](https://code-thinking-1253855093.file.myqcloud.com/pics/20240913110841.png)
这里有录友就想:如果字符串s 是有是有最小重复子串p组成,最长相等前后缀就不能更长一些? 例如这样:
这里有录友就想:如果字符串s 是由最小重复子串p组成,最长相等前后缀就不能更长一些? 例如这样:
![](https://code-thinking-1253855093.file.myqcloud.com/pics/20240913114348.png)
Expand Down Expand Up @@ -884,3 +884,4 @@ public int[] GetNext(string s)
<a href="https://programmercarl.com/other/kstar.html" target="_blank">
<img src="../pics/网站星球宣传海报.jpg" width="1000"/>
</a>

0 comments on commit 69a413c

Please sign in to comment.