计算机科学 > 数据结构与算法
[提交于 2015年4月23日]
标题:Dictionary matching in a stream
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要: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.
提交历史
来自:Allyx Fontaine[v1] 2015年4月23日 星期四 16:24:15 UTC