Internal Shortest Absent Word Queries in Constant Time and Linear Space
Abstract
Given a string T of length n over an alphabet ⊂ \1,2,…,nO(1)\ of size σ, we are to preprocess T so that given a range [i,j], we can return a representation of a shortest string over that is absent in the fragment T[i]·s T[j] of T. We present an O(n)-space data structure that answers such queries in constant time and can be constructed in O(nσ n) time.
0
Turn this paper into a full lesson
ArcXiv compiles a staged curriculum from this paper: 8-12 lessons across beginner → advanced, synthesised section guides, visuals, flashcards, a quiz, exercises, and on-demand deep dives per section. Grounded in the abstract, never invented.