Last Day of 31-Day May LeetCode Challenge

Aanchal Patial
1 min readMay 31, 2020

--

Given two words word1 and word2, find the minimum number of operations required to convert word1 to word2.

You have the following 3 operations permitted on a word:

  1. Insert a character
  2. Delete a character
  3. Replace a character

--

--

Aanchal Patial

We never really grow up, we only learn how to act in public