On Abelian Longest Common Factor with and without RLE
Szymon Grabowski, Tomasz Kociumaka, Jakub Radoszewski

TL;DR
This paper introduces new algorithms for the Abelian longest common factor problem, improving efficiency for both uncompressed and run-length encoded strings, with significant theoretical advancements over previous methods.
Contribution
It presents the first sub-quadratic algorithm for uncompressed strings with constant alphabet size and two improved algorithms for RLE-compressed strings, surpassing prior complexity bounds.
Findings
O(n) space and o(n^2) time algorithm for uncompressed strings with constant alphabet
An O(m^2 σ^2 log^3 m) time algorithm for RLE-compressed strings
An O(m^3) time algorithm for RLE-compressed strings that improves previous bounds
Abstract
We consider the Abelian longest common factor problem in two scenarios: when input strings are uncompressed and are of size , and when the input strings are run-length encoded and their compressed representations have size at most . The alphabet size is denoted by . For the uncompressed problem, we show an -time and -space algorithm in the case of , making a non-trivial use of tabulation. For the RLE-compressed problem, we show two algorithms: one working in time and space, which employs line sweep, and one that works in time and space that applies in a careful way a sliding-window-based approach. The latter improves upon the previously known -time and -time algorithms that were recently developed by Sugimoto et al.\ (IWOCA 2017) and Grabowski…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
