#72

Edit Distance

hard· 2-D DPruns: 0

Given two strings word1 and word2, return the minimum number of operations required to convert word1 to word2. You have the following three operations: insert a character, delete a character, and replace a character.

sign in to paste and practice your own solution
desktop only

codedrill is a typing game and needs a real keyboard. open this on a laptop or desktop to practice.

you can still browse problems and sections from your phone.