Instruct: Identify the main and secondary category of Arxiv papers based on the titles and abstracts
Query: An Almost Optimal Edit Distance Oracle   We consider the problem of preprocessing two strings $S$ and $T$, of lengths
$m$ and $n$, respectively, in order to be able to efficiently answer the
following queries: Given positions $i,j$ in $S$ and positions $a,b$ in $T$,
return the optimal alignment of $S[i \mathinner{.\,.} j]$ and $T[a
\mathinner{.\,.} b]$. Let $N=mn$. We present an oracle with preprocessing time
$N^{1+o(1)}$ and space $N^{1+o(1)}$ that answers queries in $\log^{2+o(1)}N$
time. In other words, we show that we can query the alignment of every two
substrings in almost the same time it takes to compute just the alignment of
$S$ and $T$. Our oracle uses ideas from our distance oracle for planar graphs
[STOC 2019] and exploits the special structure of the alignment graph.
Conditioned on popular hardness conjectures, this result is optimal up to
subpolynomial factors. Our results apply to both edit distance and longest
common subsequence (LCS).
  The best previously known oracle with construction time and size
$\mathcal{O}(N)$ has slow $\Omega(\sqrt{N})$ query time [Sakai, TCS 2019], and
the one with size $N^{1+o(1)}$ and query time $\log^{2+o(1)}N$ (using a planar
graph distance oracle) has slow $\Omega(N^{3/2})$ construction time [Long &
Pettie, SODA 2021]. We improve both approaches by roughly a $\sqrt N$ factor.

21
The categories of this paper are: adap-org
25
The categories of this paper are: patt-sol
15
The categories of this paper are: nucl-ex
2
The categories of this paper are: math
30
The categories of this paper are: q-alg
35
The categories of this paper are: mtrl-th
19
The categories of this paper are: eess
14
The categories of this paper are: math-ph
18
The categories of this paper are: econ
37
The categories of this paper are: supr-con
20
The categories of this paper are: acc-phys
24
The categories of this paper are: dg-ga
9
The categories of this paper are: nlin
7
The categories of this paper are: hep-th
27
The categories of this paper are: comp-gas
11
The categories of this paper are: hep-lat