pith. sign in

arxiv: 1504.06242 · v1 · pith:JC7JDYFUnew · submitted 2015-04-23 · 💻 cs.DS

Dictionary matching in a stream

classification 💻 cs.DS
keywords dictionarystreamtimearrivingmatchingstringstringsalgorithm
0
0 comments X
read the original abstract

We consider the problem of dictionary matching in a stream. Given a set of strings, known as a dictionary, and a stream of characters arriving one at a time, the task is to report each time some string in our dictionary occurs in the stream. We present a randomised algorithm which takes O(log log(k + m)) time per arriving character and uses O(k log m) words of space, where k is the number of strings in the dictionary and m is the length of the longest string in the dictionary.

This paper has not been read by Pith yet.

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.