Dennis Yurichev personal blog

Knuth-Morris-Pratt string-searching algorithm: DFA-less version

You see, there are two memory accesses per one character of the input string (at average). Hence, the total number of all memory accesses can be len*2 at worst.
Points
109
HN comments
38
Submissions
1
Cited by
0 commenters

Software EngineeringMath & Algorithms2021

On Hacker News

SubmittedTitle on HNPointsComments
Jan 21, 2021Knuth-Morris-Pratt string-searching algorithm: DFA-less version by ingve10938

More from Dennis Yurichev

All 6 posts →

Related posts from the same era