↓
快轉到主要內容
Blog
分類
演算法
後端技術
資料庫
分散式系統
面試經歷
實習經歷
LeetCode
論文發表
所有標籤
繁體中文
English
繁體中文
繁體中文
English
繁體中文
Blog
分類
演算法
後端技術
資料庫
分散式系統
面試經歷
實習經歷
LeetCode
論文發表
所有標籤
Knuth-Morris-Pratt-Algorithm
LeetCode 459: Repeated Substring Pattern
2022-08-24
·
1 分鐘
LeetCode
Easy
String
String-Matching
Z-Algorithm
Knuth-Morris-Pratt-Algorithm
LeetCode 459 解題筆記:s 由某個子字串重複組成,等價於 s 出現在 (s + s) 去掉頭尾字元之後的字串裡