update readme

This commit is contained in:
ranwenjie
2021-11-06 22:03:15 +08:00
parent 4b5e2d8b80
commit ad152b7814
10 changed files with 147 additions and 81 deletions
+7
View File
@@ -0,0 +1,7 @@
# 字符串匹配算法 KMP
KMP于1977年被提出,全称 Knuth–Morris–Pratt 算法; 名字分别是:Donald Knuth(K), James H. Morris(M), Vaughan Pratt(P).
KMP算法是一种字符串匹配算法,可以在 O(n+m) 的时间复杂度内实现两个字符串的匹配。