Edit Distance
Dec 14, 2025 · 4 min read · Problem Given two strings word1 and word2, return the minimum number of operations required to convert word1 to word2. (link) You have the following three operations permitted on a word: Insert a character Delete a character Replace a character ...
Join discussion
