Introduction
Edit Distance measures the minimum number of single-character operations needed to transform one string into another. You have operations available:
Insert a character Delete a character Replace a character with another
For example, transforming "kitten" to "sitting" requires operations: replace 'k' with 's', replace 'e' with 'i', and insert 'g' at the end.
You'll find Edit Distance everywhere: spell checkers suggest corrections, DNA sequencing aligns genetic strings, and fuzzy search matches similar queries.