Arrow Research search
Back to TCS

TCS 2020

Two-dimensional maximal repetitions

Journal Article journal-article Computer Science · Theoretical Computer Science

Abstract

Maximal repetitions or runs in strings have a wide array of applications and thus have been extensively studied. In this paper, we extend this notion to 2-dimensions, precisely defining a maximal 2D repetition. We provide initial bounds on the number of maximal 2D repetitions that can occur in an n × n array. The main contribution of this paper is the presentation of the first algorithm for locating all maximal 2D repetitions. The algorithm is efficient and straightforward, with runtime O ( n 2 log ⁡ n + ρ ), where n 2 is the size of the input array and ρ is the number of maximal 2D repetitions in the output.

Authors

Keywords

  • Pattern matching algorithms
  • Repetitions
  • Periodicity
  • Two-dimensional

Context

Venue
Theoretical Computer Science
Archive span
1975-2026
Indexed papers
16261
Paper id
258507772513294630
v2026.09.13