Quasi-linear-time algorithm for a longest common circular factor

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.

Authors

Institutions

Publication Details

Journal
Theoretical Computer Science
Published
2026-04-07
DOI
https://doi.org/10.1016/j.tcs.2026.115955
Citations
1
Primary Topic
Algorithms and Data Compression
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Quasi-linear-time algorithm for a longest common circular factor

Mai Alzamel, Costas S. Iliopoulos, Tomasz Waleń, Wojciech Rytter et al.
1 citations
Theoretical Computer Science
Algorithms and Data Compression
article

Quasi-linear-time algorithm for a longest common circular factor

Mai Alzamel, Costas S. Iliopoulos, Tomasz Waleń, Wojciech Rytter, Maxime Crochemore, Jakub Radoszewski, Wiktor Zuba, Tomasz Kociumaka, Juliusz Straszyński
article en
1 citations

Abstract

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.

Theoretical Computer ScienceVol. 1075
King's College London (GB), Université Gustave Eiffel (FR), University of Warsaw (PL)
European Commission, Fundacja na rzecz Nauki Polskiej, King Saud University, Israel Science Foundation, Narodowe Centrum Nauki, European Regional Development Fund
Openalex Percentile: Top 100%
Algorithms and Data Compression
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.