Edit Distance

Return the minimum number of edits to convert word1 into word2.

Examples
Input: ["horse","ros"]
Output: 3
Hints

Edit Distance

Return the minimum number of edits to convert word1 into word2.