MCPcopy Create free account
hub / github.com/subbarayudu-j/TheAlgorithms-Python / naiveStringSearch.py

File naiveStringSearch.py

strings/naiveStringSearch.py:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1"""
2this algorithm tries to find the pattern from every position of
3the mainString if pattern is found from position i it add it to
4the answer and does the same for position i+1

Callers

nothing calls this directly

Calls 1

naivePatternSearchFunction · 0.85

Tested by

no test coverage detected