【24h】

On-Line Repetition Detection

机译:在线重复检测

获取原文
获取原文并翻译 | 示例

摘要

A q-repetition is the concatenation of q copies of a primitive string, where q ≥ 2. Given a string S character by character, the on-line repetition detection problem is to determine whether S contains a q-repetition in an on-line manner. For q = 2, the problem can be solved in O(m log β) time, where m is the ending position of the first 2-repetition and β is the number of distinct characters in the m-th prefix of 5. In this paper, we present an on-line algorithm that can detect a q-repetition for q ≥ 3 with the same time complexity.
机译:q重复是原始字符串的q个副本的串联,其中q≥2。给定一个字符一个字符串S,在线重复检测问题是确定S是否在线上包含q重复。方式。对于q = 2,可以在O(m logβ)时间解决问题,其中m是第一个2个重复的结束位置,β是第m个前缀5中不同字符的数量。在本文中,我们提出了一种在线算法,该算法可以以相同的时间复杂度检测q≥3的q重复。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号