There was an error while loading. Please reload this page.
1 parent 3cc9859 commit 3fed97dCopy full SHA for 3fed97d
python/34_kmp/kmp.py
@@ -9,7 +9,6 @@
9
def kmp(s: int, pattern: int) -> int:
10
m = len(pattern)
11
partial_match_table = _get_partial_match_table(pattern)
12
- print(partial_match_table)
13
j = 0
14
for i in range(len(s)):
15
while j >= 0 and s[i] != pattern[j]:
0 commit comments