1/60
Loading...
✏️Edit Distance
Transform "KITTEN" to "SITTING"? 3 operations allowed: • Insert: add a character • Delete: remove a character • Replace: change a character What's the minimum operations needed?
🔒
Loading...
Transform "KITTEN" to "SITTING"? 3 operations allowed: • Insert: add a character • Delete: remove a character • Replace: change a character What's the minimum operations needed?
Edit Distance (Levenshtein Distance) is the minimum number of operations needed to transform one string into another. Three operations are allowed: Insert, Delete, and Replace.