加载中…
We study weighted edit distance between two strings of total length , where edit costs are induced by an arbitrary metric. For equal-length inputs, Kuszmaul (2019) gave an -approximation with running time for every fixed . We give the first constant-factor approximation for weighted edit distance over arbitrary metrics in strongly subquadratic running time. For every , our randomized algorithm runs in time and returns a -approximation with probability at least . The algorithm allows unequal input lengths and places no bound on the ratio between edit costs.

生成讲解博客的中文版本

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