计算机科学 > 数据结构与算法
[提交于 2011年9月19日]
标题:Tying up the loose ends in fully LZW-compressed pattern matching
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:We consider a natural generalization of the classical pattern matching problem: given compressed representations of a pattern p[1..M] and a text t[1..N] of sizes m and n, respectively, does p occur in t? We develop an optimal linear time solution for the case when both p and t are compressed using the LZW method. This improves the previously known O((n+m)log(n+m)) time solution of Gasieniec and Rytter, and essentially closes the line of research devoted to studying LZW-compressed exact pattern matching.
提交历史
来自:Pawel Gawrychowski[v1] 2011年9月19日 星期一 14:20:02 UTC