← Amazon questions

Edit distance

Filed under Amazon · Also reported at Augnito, Coinbase, Goldman Sachs, Microsoft, Paytm, Sprinklr

Given two strings word1 and word2, return the minimum number of operations required to convert word1 to word2. You have the following three operations permitted on a word: Insert a character, Delete a…

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related Amazon questions

Collected from public candidate posts and coding forums. Updated Nov 2026.