English

Quasi-Linear-Time Algorithm for Longest Common Circular Factor

Data Structures and Algorithms 2019-02-01 v1

Abstract

We introduce the Longest Common Circular Factor (LCCF) problem in which, given strings SS and TT of length nn, we are to compute the longest factor of SS whose cyclic shift occurs as a factor of TT. It is a new similarity measure, an extension of the classic Longest Common Factor. We show how to solve the LCCF problem in O(nlog5n)O(n \log^5 n) time.

Keywords

Cite

@article{arxiv.1901.11305,
  title  = {Quasi-Linear-Time Algorithm for Longest Common Circular Factor},
  author = {Mai Alzamel and Maxime Crochemore and Costas S. Iliopoulos and Tomasz Kociumaka and Jakub Radoszewski and Wojciech Rytter and Juliusz Straszyński and Tomasz Waleń and Wiktor Zuba},
  journal= {arXiv preprint arXiv:1901.11305},
  year   = {2019}
}
R2 v1 2026-06-23T07:28:07.388Z