pith. sign in

arxiv: 1503.00049 · v1 · pith:RHCSV6PSnew · submitted 2015-02-28 · 💻 cs.DS

Algorithms for Longest Common Abelian Factors

classification 💻 cs.DS
keywords algorithmabeliancommonlongestsigmastringstimealgorithms
0
0 comments X
read the original 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(\sigma~ n^2)$ time algorithm, where $n$ is the length of the strings and $\sigma$ 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.

This paper has not been read by Pith yet.

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.