arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2403.06667cs.DSmath.CO
收藏

不同四次方(Quartics)的最优界

Optimal Bounds for Distinct Quartics

Panagiotis Charalampopoulos, Paweł Gawrychowski, Samah Ghazawi

AI总结:

本研究解决了二维字符串中不同四次方的渐近紧界问题,证明其数量为$\u00a0(n^2 \u00a0 n)$,并给出了最坏情况下最优的$\u00a0(n^2 \u00a0 n)$时间计算算法,完善了高维字符串重复结构的研究。

摘要:

与字符串相关的一个基本概念是重复。它已在多种形式下被广泛研究,涵盖纯组合和算法两个角度。最基础的问题之一是,长度为n的字符串中最多能包含多少个不同的平方串(即形如$UU$的不同字符串)作为子串。研究表明,这个数量始终为$\u00a0(n)$,且该界无法改进为n的次线性阶[Fraenkel和Simpson,JCTA 1998]。\n 人们已经考虑了若干关于字符串中重复的类似问题,到目前为止,我们似乎已经很好地理解了字符串的重复结构。对于高维字符串,周期性的基本概念已被成功扩展并应用于设计高效算法——其本质上比普通字符串的周期性更复杂。然而,对重复概念的扩展以及对高维字符串重复结构的理解还远未完善。\n 四次方(Quartics)由Apostolico和Brimkov[TCS 2000]提出,作为二维中平方串的对应物。Charalampopoulos、Radoszewski、Rytter、Waleń和Zuba[ESA 2020]证明,n×n二维字符串中不同四次方的数量为$\u00a0(n^2 \u00a0^2 n)$,且可以在$\u00a0(n^2 \u00a0^2 n)$时间内计算出它们。Gawrychowski、Ghazawi和Landau[SPIRE 2021]构造了一族无穷多的n×n二维字符串,其中不同四次方的数量为$Ω(n^2 \u00a0 n)$。这带来了确定渐近紧界的挑战。在此,我们解决了该问题的组合和算法两个方面:n×n二维字符串中不同四次方的数量为$\u00a0(n^2 \u00a0 n)$,且可以在最坏情况下最优的$\u00a0(n^2 \u00a0 n)$时间内计算出它们。

英文摘要:

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ń, 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 $Ω(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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑