2000 character limit reached
Ranking and Unranking k-subsequence universal words
Published 10 Apr 2023 in cs.DS and math.CO | (2304.04583v1)
Abstract: A subsequence of a word is a word such that , for some set of indices . A word is -subsequence universal over an alphabet if every word in appears in as a subsequence. In this paper, we provide new algorithms for -subsequence universal words of fixed length over the alphabet . Letting denote the set of -length -subsequence universal words over , we provide: * an time algorithm for counting the size of ; * an time algorithm for ranking words in the set ; * an time algorithm for unranking words from the set ; * an algorithm for enumerating the set with delay after preprocessing.
Paper Prompts
Sign up for free to create and run prompts on this paper.