We give randomized algorithms for -approximate edit distance in time for unweighted edit distance and in time for arbitrary metric edit weights, where is the total input length. For non-metric costs, we prove an unconditional oracle-query lower bound for every approximation factor depending only on , even for symmetric weights or weights satisfying the triangle inequality (but not both). Under the Orthogonal Vectors Hypothesis, we show a similar result for constant-size alphabets. This holds even for symmetric weights over a size- alphabet or triangle-inequality weights over a size- alphabet. In contrast, for symmetric weights over a binary alphabet we show an -time -approximation algorithm.

生成讲解博客的中文版本

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