首页    期刊浏览 2024年11月28日 星期四
登录注册

文章基本信息

  • 标题:Fast Algorithms for Abelian Periods in Words and Greatest Common Divisor Queries
  • 本地全文:下载
  • 作者:Tomasz Kociumaka ; Jakub Radoszewski ; Wojciech Rytter
  • 期刊名称:LIPIcs : Leibniz International Proceedings in Informatics
  • 电子版ISSN:1868-8969
  • 出版年度:2013
  • 卷号:20
  • 页码:245-256
  • DOI:10.4230/LIPIcs.STACS.2013.245
  • 出版社:Schloss Dagstuhl -- Leibniz-Zentrum fuer Informatik
  • 摘要:We present efficient algorithms computing all Abelian periods of two types in a word. Regular Abelian periods are computed in O(n log log{n}) randomized time which improves over the best previously known algorithm by almost a factor of n. The other algorithm, for full Abelian periods, works in O(n) time. As a tool we develop an O(n) time construction of a data structure that allows O(1) time gcd(i,j) queries for all 1 <= i,j <= n, this is a result of independent interest.
  • 关键词:Abelian period; greatest common divisor
国家哲学社会科学文献中心版权所有