English

2-Dimensional Palindromes with $k$ Mismatches

Data Structures and Algorithms 2020-02-27 v1

Abstract

This paper extends the problem of 2-dimensional palindrome search into the area of approximate matching. Using the Hamming distance as the measure, we search for 2D palindromes that allow up to kk mismatches. We consider two different definitions of 2D palindromes and describe efficient algorithms for both of them. The first definition implies a square, while the second definition (also known as a \emph{centrosymmetric factor}), can be any rectangular shape. Given a text of size n×mn \times m, the time complexity of the first algorithm is O(nm(logm+logn+k))O(nm (\log m + \log n + k)) and for the second algorithm it is O(nm(logm+k)+occ)O(nm(\log m + k) + occ) where occocc is the size of the output.

Keywords

Cite

@article{arxiv.2002.11157,
  title  = {2-Dimensional Palindromes with $k$ Mismatches},
  author = {Dina Sokol},
  journal= {arXiv preprint arXiv:2002.11157},
  year   = {2020}
}
R2 v1 2026-06-23T13:53:47.055Z