Skip to content

Commit 9c6ffa8

Browse files
committed
update images
1 parent 6bb878c commit 9c6ffa8

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

content/09-datastruct-algorithm/04-string.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -43,19 +43,19 @@ tags: ["数据结构", "算法", "字符串"]
4343
- 方案3: 没有长度变量,已字符'\0'表示结尾,缺点:获取长度需要遍历
4444
- 方案4: ch[0]废弃不用,外加一个长度变量
4545

46-
![](https://jihulab.com/xnzone/earth-bear/-/raw/master/str-array.jpg)
46+
![](https://s2.loli.net/2025/09/28/sPNB5K8A97cIUkO.png)
4747

4848
### 链式存储
4949

50-
![](https://jihulab.com/xnzone/earth-bear/-/raw/master/str-list.jpg)
50+
![](https://s2.loli.net/2025/09/28/MmcO5aIJGHQUDvF.png)
5151

5252
### 基本操作实现-第四种方案
5353

54-
![](https://jihulab.com/xnzone/earth-bear/-/raw/master/str-substr.jpg)
54+
![](https://s2.loli.net/2025/09/28/XHPZzFaVpqQ1UB6.png)
5555

56-
![](https://jihulab.com/xnzone/earth-bear/-/raw/master/str-compare.jpg)
56+
![](https://s2.loli.net/2025/09/28/NM8fdRCF7WSPZQc.png)
5757

58-
![](https://jihulab.com/xnzone/earth-bear/-/raw/master/str-index.jpg)
58+
![](https://s2.loli.net/2025/09/28/mSQhs1gjPVuXBvH.png)
5959

6060
## 匹配问题-朴素算法
6161

@@ -101,7 +101,7 @@ int Index(SString S, SString T) {
101101
- 根据模式串T,求出next数组
102102
- 利用next数组进行匹配(主串指针不回溯)
103103
104-
![](https://jihulab.com/xnzone/earth-bear/-/raw/master/str-kmp.jpg)
104+
![](https://s2.loli.net/2025/09/28/GUOeBnSjbiyWdok.png)
105105
106106
### 求next数组
107107

0 commit comments

Comments
 (0)