Find Minimum Operations Required To Convert String1 To String2
Write a program to find out the minimum number of operations required to convert source string to target string.
To convert source string to target string, only insert and delete character operation are allowed.
For eg:
- Source = “ABCD”, Target = “ACDB” – Operations = 2 (Delete B and insert B at end)
- Source = “ABCDEF”, Taget = “ACDEF” – Operations = 1 (Delete B)