Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
erubin
on June 20, 2016
|
parent
|
context
|
favorite
| on:
Efficient way to search a stream for a string
Is there a reason why nobody suggested the Rabin-Karp algorithm (modular hashing)? It is also no-backup and conveniently allows searching for multiple strings in the stream.
wslh
on June 21, 2016
[–]
It seems like the Rabin-Karp algorithm is inferior to KMP.
Consider applying for YC's Winter 2027 batch!
Applications
are open till November 2.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: