We study the problem of estimating the edit distance between two -character strings. While exact computation in the worst case is believed to require near-quadratic time, previous work showed that in certain regimes it is possible to solve the following {\em gap edit distance} problem in sub-linear time: distinguish between inputs of distance and . Our main result is a very simple algorithm for this benchmark that runs in time $\tilde O(n/\sqrt{k})$, and in particular settles the open problem of obtaining a truly sublinear time for the entire range of relevant . Building on the same framework, we also obtain a -vs- algorithm for the one-sided preprocessing model with preprocessing time and query time (improving over a recent -query time algorithm for the same problem [GRS’20].

生成讲解博客的中文版本

生成AI智能校验的中文版本