English

A note on the longest common Abelian factor problem

Data Structures and Algorithms 2015-03-12 v3

Abstract

Abelian string matching problems are becoming an object of considerable interest in last years. Very recently, Alatabbi et al. \cite{AILR2015} presented the first solution for the longest common Abelian factor problem for a pair of strings, reaching O(σn2)O(\sigma n^2) time with O(σnlogn)O(\sigma n \log n) bits of space, where nn is the length of the strings and σ\sigma is the alphabet size. In this note we show how the time complexity can be preserved while the space is reduced by a factor of σ\sigma, and then how the time complexity can be improved, if the alphabet is not too small, when superlinear space is allowed.

Keywords

Cite

@article{arxiv.1503.01093,
  title  = {A note on the longest common Abelian factor problem},
  author = {Szymon Grabowski},
  journal= {arXiv preprint arXiv:1503.01093},
  year   = {2015}
}

Comments

v3 is vastly different to the previous one

R2 v1 2026-06-22T08:43:32.624Z