Naive pattern search

easy

After matching four characters and failing on the fifth, it throws away everything it learned. Every faster matcher is a different answer to 'how do we keep that?'

Best O(n)Average O(n)Worst O(n·m)Space O(1)
Loading the naive pattern search engine…

Where to go next