arXiv · 1503.00049
Algorithms for Longest Common Abelian Factors
Abstract
In this paper we consider the problem of computing the longest common abelian factor (LCAF) between two given strings. We present a simple $O(σ~ n^2)$ time algorithm, where $n$ is the length of the strings and $σ$ is the alphabet size, and a sub-quadratic running time solution for the binary string case, both having linear space requirement. Furthermore, we present a modified algorithm applying some interesting tricks and experimentally show that the resulting algorithm runs faster.
Explore related subjects
Keep this discovery
Explore connections, maps & timelines
Ali Alatabbi, Costas S. Iliopoulos, Alessio Langiu, M. Sohel Rahman. 2015-02-28. Algorithms for Longest Common Abelian Factors. https://arxiv.org/abs/1503.00049
Cite the original work for its findings. Save a collection to share your selection of sources.