Scattered Factor-Universality of Words
- 26 May 2020
- book chapter
- Published by Springer Nature
- Vol. 12086, 14-28
Abstract
A word \(u=u_1\dots u_n\) is a scattered factor of a word w if u can be obtained from w by deleting some of its letters: there exist the (potentially empty) words \(v_0,v_1,..\,,v_n\) such that \(w = v_0u_1v_1...u_nv_n\). The set of all scattered factors up to length k of a word is called its full k-spectrum. Firstly, we show an algorithm deciding whether the k-spectra for given k of two words are equal or not, running in optimal time. Secondly, we consider a notion of scattered-factors universality: the word w, with \(\text {alph}(w)=\varSigma \), is called k-universal if its k-spectrum includes all words of length k over the alphabet \(\varSigma \); we extend this notion to k-circular universality. After a series of preliminary combinatorial results, we present an algorithm computing, for a given \(k'\)-universal word w the minimal i such that \(w^i\) is k-universal for some \(k>k'\). Several other connected problems are also considered.
Keywords
All Related Versions
This publication has 28 references indexed in Scilit:
- Absoluteness of subword inequality is undecidableTheoretical Computer Science, 2012
- Descriptional and computational complexity of finite automata—A surveyInformation and Computation, 2011
- Algorithms for subsequence combinatoricsTheoretical Computer Science, 2008
- Rich, Sturmian, and trapezoidal wordsTheoretical Computer Science, 2008
- Episturmian words and some constructions of de Luca and RauzyTheoretical Computer Science, 2001
- An algorithm for distinguishing efficiently bit-strings by their subsequencesTheoretical Computer Science, 1991
- On the complexity of computations under varying sets of primitivesJournal of Computer and System Sciences, 1979
- The Complexity of Some Problems on Subsequences and SupersequencesJournal of the ACM, 1978
- The String-to-String Correction ProblemJournal of the ACM, 1974
- A problem in arrangementsBulletin of the American Mathematical Society, 1934