Edit Distance
Everything on SkillVeris tagged Edit Distance — collected across the glossary, study notes, blog, and cheat sheets.
3 resources across 2 libraries
Study Notes(1)
Interview Questions(2)
Edit Distance Problem: How Would You Solve It?
Edit distance (Levenshtein distance) is solved with dynamic programming: dp[i][j] holds the minimum number of insertions, deletions, and substitutions to turn…
How Do You Find the Longest Common Subsequence?
The longest common subsequence (LCS) of two strings is the longest sequence of characters that appears in both strings in the same relative order but not neces…