,
Maxime Crochemore
,
Costas S. Iliopoulos
,
Tomasz Kociumaka
,
Jakub Radoszewski
,
Wojciech Rytter
,
Juliusz Straszyński
,
Tomasz Waleń
,
Wiktor Zuba
Creative Commons Attribution 3.0 Unported license
We introduce the Longest Common Circular Factor (LCCF) problem in which, given strings S and T of length at most n, we are to compute the longest factor of S whose cyclic shift occurs as a factor of T. It is a new similarity measure, an extension of the classic Longest Common Factor. We show how to solve the LCCF problem in O(n log^4 n) time using O(n log^2 n) space.
@InProceedings{alzamel_et_al:LIPIcs.CPM.2019.25,
author = {Alzamel, Mai and Crochemore, Maxime and Iliopoulos, Costas S. and Kociumaka, Tomasz and Radoszewski, Jakub and Rytter, Wojciech and Straszy\'{n}ski, Juliusz and Wale\'{n}, Tomasz and Zuba, Wiktor},
title = {{Quasi-Linear-Time Algorithm for Longest Common Circular Factor}},
booktitle = {30th Annual Symposium on Combinatorial Pattern Matching (CPM 2019)},
pages = {25:1--25:14},
series = {Leibniz International Proceedings in Informatics (LIPIcs)},
ISBN = {978-3-95977-103-0},
ISSN = {1868-8969},
year = {2019},
volume = {128},
editor = {Pisanti, Nadia and P. Pissis, Solon},
publisher = {Schloss Dagstuhl -- Leibniz-Zentrum f{\"u}r Informatik},
address = {Dagstuhl, Germany},
URL = {https://drops.dagstuhl.de/entities/document/10.4230/LIPIcs.CPM.2019.25},
URN = {urn:nbn:de:0030-drops-104961},
doi = {10.4230/LIPIcs.CPM.2019.25},
annote = {Keywords: longest common factor, circular pattern matching, internal pattern matching, intersection of hyperrectangles}
}