Let be a string of length over an integer alphabet of size . In the word RAM model, can be represented in space. We show that a representation of all covers of can be computed in the optimal time; in particular, the shortest cover can be computed within this time. We also design an -sized data structure that computes in time any element of the so-called (shortest) cover array of , that is, the length of the shortest cover of any given prefix of . As a by-product, we describe the structure of cover arrays of Fibonacci strings. On the negative side, we show that the shortest cover of a length- string cannot be computed using operations in the PILLAR model of Charalampopoulos, Kociumaka, and Wellnitz (FOCS 2020).

生成讲解博客的中文版本

生成AI智能校验的中文版本