On Abelian Longest Common Factor with and without RLE
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 (SPIRE 2017), respectively.
Cite
@article{arxiv.1804.06809,
title = {On Abelian Longest Common Factor with and without RLE},
author = {Szymon Grabowski and Tomasz Kociumaka and Jakub Radoszewski},
journal= {arXiv preprint arXiv:1804.06809},
year = {2018}
}
Comments
Submitted to a journal