English

Counting and Verifying Abelian Border Arrays of Binary Words

Data Structures and Algorithms 2021-11-02 v1

Abstract

In this note, we consider the problem of counting and verifying abelian border arrays of binary words. We show that the number of valid abelian border arrays of length nn is 2n12^{n-1}. We also show that verifying whether a given array is the abelian border array of some binary word reduces to computing the abelian border array of a specific binary word. Thus, assuming the word-RAM model, we present an O(n2log2n)O\left(\frac{n^2}{\log^2n}\right) time algorithm for the abelian border array verification problem.

Keywords

Cite

@article{arxiv.2111.00259,
  title  = {Counting and Verifying Abelian Border Arrays of Binary Words},
  author = {Mursalin Habib and Md. Salman Shamil and M. Sohel Rahman},
  journal= {arXiv preprint arXiv:2111.00259},
  year   = {2021}
}