Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/geekcomputers/Python
/ kmp_str_search.py
File
kmp_str_search.py
kmp_str_search.py:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
""
"Author Anurag Kumar(mailto:anuragkumarak95@gmail.com)
2
The Knuth-Morris-Pratt Algorithm
for
finding a pattern within a piece of te$
3
with
complexity O(n + m)
4
1) Preprocess pattern to identify any suffixes that are identical to prefix$
Callers
nothing calls this directly
Calls
1
kmp
Function · 0.85
Tested by
no test coverage detected