当前位置: X-MOL 学术Inf. Process. Lett. › 论文详情
Our official English website, www.x-mol.net, welcomes your feedback! (Note: you will need to create a separate account there.)
Ranking and unranking bordered and unbordered words
Information Processing Letters ( IF 0.5 ) Pub Date : 2023-10-12 , DOI: 10.1016/j.ipl.2023.106452
Daniel Gabric

A border of a word w is a word that is both a non-empty proper prefix and suffix of w. If w has a border, then it is said to be bordered; otherwise, it is said to be unbordered. The main results of this paper are the first algorithms to rank and unrank length-n bordered and unbordered words over a k-letter alphabet. We show that, under the unit-cost RAM model, ranking bordered and unbordered words can be done in O(kn3) time using O(n) space, and unranking them can be done in O(n4klogk) time using O(n) space.



中文翻译:

对有界词和无界词进行排名和取消排名

单词w的边界是既是w的非空真前缀又是后缀的单词。如果w有边界,则称其为有边界的;否则,就说它是无边界的。本文的主要成果是第一个对k个字母字母表上的长度为n 个有边界和无边界单词进行排序和取消排序的算法。我们表明,在单位成本 RAM 模型下,可以对有界词和无界词进行排序kn3时间使用n空间,并且取消它们的排名可以在n4k日志k时间使用n空间。

更新日期:2023-10-17
down
wechat
bug