Y
Hacker News
new
|
ask
|
show
|
jobs
by
ajanuary
4463 days ago
Using Aho-Corasick [1] the runtime would be about O(n+k+)
[1]
http://en.m.wikipedia.org/wiki/Aho–Corasick_string_matching_...