Finding the edit distance between two strings
Given two strings as input, write a program to find the edit distance between them. The edit distance is defined as the minimum number of modifications to do on one string to transform it into the other string. A modification can be inserting a character, deleting a character, or replacing an existing character. For example,…