English

Longest (Sub-)Periodic Subsequence

Data Structures and Algorithms 2022-02-16 v1

Abstract

We present an algorithm computing the longest periodic subsequence of a string of length nn in O(n7)O(n^7) time with O(n4)O(n^4) words of space. We obtain improvements when restricting the exponents or extending the search allowing the reported subsequence to be subperiodic down to O(n3)O(n^3) time and O(n2)O(n^2) words of space.

Keywords

Cite

@article{arxiv.2202.07189,
  title  = {Longest (Sub-)Periodic Subsequence},
  author = {Hideo Bannai and Tomohiro I and Dominik Köppl},
  journal= {arXiv preprint arXiv:2202.07189},
  year   = {2022}
}