Papers
Topics
Authors
Recent
Gemini 2.5 Flash
Gemini 2.5 Flash
169 tokens/sec
GPT-4o
7 tokens/sec
Gemini 2.5 Pro Pro
45 tokens/sec
o3 Pro
4 tokens/sec
GPT-4.1 Pro
38 tokens/sec
DeepSeek R1 via Azure Pro
28 tokens/sec
2000 character limit reached

Internal Shortest Absent Word Queries in Constant Time and Linear Space (2106.01763v1)

Published 3 Jun 2021 in cs.DS

Abstract: Given a string $T$ of length $n$ over an alphabet $\Sigma\subset {1,2,\ldots,n{O(1)}}$ of size $\sigma$, we are to preprocess $T$ so that given a range $[i,j]$, we can return a representation of a shortest string over $\Sigma$ that is absent in the fragment $T[i]\cdots 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\log_\sigma n)$ time.

Citations (8)

Summary

We haven't generated a summary for this paper yet.