Détail du document
Identifiant

oai:arXiv.org:2403.06667

Sujet
Computer Science - Data Structures... Mathematics - Combinatorics
Auteur
Charalampopoulos, Panagiotis Gawrychowski, Paweł Ghazawi, Samah
Catégorie

Computer Science

Année

2024

Date de référencement

13/03/2024

Mots clés
\log string repetitions strings n^2 $ quartics
Métrique

Résumé

A fundamental concept related to strings is that of repetitions.

It has been extensively studied in many versions, from both purely combinatorial and algorithmic angles.

One of the most basic questions is how many distinct squares, i.e., distinct strings of the form $UU$, a string of length $n$ can contain as fragments.

It turns out that this is always $\mathcal{O}(n)$, and the bound cannot be improved to sublinear in $n$ [Fraenkel and Simpson, JCTA 1998].

Several similar questions about repetitions in strings have been considered, and by now we seem to have a good understanding of their repetitive structure.

For higher-dimensional strings, the basic concept of periodicity has been successfully extended and applied to design efficient algorithms -- it is inherently more complex than for regular strings.

Extending the notion of repetitions and understanding the repetitive structure of higher-dimensional strings is however far from complete.

Quartics were introduced by Apostolico and Brimkov [TCS 2000] as analogues of squares in two dimensions.

Charalampopoulos, Radoszewski, Rytter, Wale\'n, and Zuba [ESA 2020] proved that the number of distinct quartics in an $n\times n$ 2D string is $\mathcal{O}(n^2 \log^2 n)$ and that they can be computed in $\mathcal{O}(n^2 \log^2 n)$ time.

Gawrychowski, Ghazawi, and Landau [SPIRE 2021] constructed an infinite family of $n \times n$ 2D strings with $\Omega(n^2 \log n)$ distinct quartics.

This brings the challenge of determining asymptotically tight bounds.

Here, we settle both the combinatorial and the algorithmic aspects of this question: the number of distinct quartics in an $n\times n$ 2D string is $\mathcal{O}(n^2 \log n)$ and they can be computed in the worst-case optimal $\mathcal{O}(n^2 \log n)$ time.

;Comment: Abstract abridged due to arXiv requirements.

33 pages, 11 figures

Charalampopoulos, Panagiotis,Gawrychowski, Paweł,Ghazawi, Samah, 2024, Optimal Bounds for Distinct Quartics

Document

Ouvrir

Partager

Source

Articles recommandés par ES/IODE IA

Use of ileostomy versus colostomy as a bridge to surgery in left-sided obstructive colon cancer: retrospective cohort study
deviating 0 versus surgery bridge colon study left-sided obstructive stoma colostomy cancer cent