MCPcopy 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)
2The Knuth-Morris-Pratt Algorithm for finding a pattern within a piece of te$
3with complexity O(n + m)
41) Preprocess pattern to identify any suffixes that are identical to prefix$

Callers

nothing calls this directly

Calls 1

kmpFunction · 0.85

Tested by

no test coverage detected