Autocorrect, spell-checkers, DNA sequence aligners, plagiarism detectors — all of them share a common engine: edit distance (also called Levenshtein distance). Given two strings, it counts the minimum number of single-character insertions, deletions, or substitutions needed to transform one into the other.
The classic algorithm, discovered independently by Vladimir Levenshtein in 1965 and by Wagner & Fischer in 1974, fills an n×m dynamic-programming table and runs in time — quadratic when both strings have the same length n. Decades of smart researchers tried to do better. They failed.
In 2015, Artūrs Backurs and Piotr Indyk explained why: a truly sub-quadratic edit distance algorithm — one running in for any — would refute the Strong Exponential Time Hypothesis (SETH). SETH says that k-SAT cannot be solved much faster than brute force, no matter how large k grows. Believing SETH (which most complexity theorists do) means believing the quadratic wall is real — not a failure of imagination, but a fundamental limit.
This is fine-grained complexity: instead of coarse NP-hardness, it gives precise conditional lower bounds that match the best known algorithm almost exactly.
Comments
Loading comments...