A note on the longest common compatible prefix problem for partial words.

Journal of Discrete Algorithms(2015)

引用 7|浏览35
暂无评分
摘要
For a partial word w the longest common compatible prefix of two positions i, j, denoted lccp(i,j), is the largest k such that w[i,i+k−1] and w[j,j+k−1] are compatible. The LCCP problem is to preprocess a partial word in such a way that any query lccp(i,j) about this word can be answered in O(1) time. We present a simple solution to this problem that works for any linearly-sortable alphabet. Our preprocessing is in time O(nμ+n), where μ is the number of blocks of holes in w.
更多
查看译文
关键词
Partial word,Longest common compatible prefix,Longest common prefix,Dynamic programming
AI 理解论文
溯源树
样例
生成溯源树,研究论文发展脉络
Chat Paper
正在生成论文摘要