Problem 1032. compare strings

Given 2 strings and 3 actions (Insert,delete,replace) on characters. Find the difference between two strings.


string1 = 'spring'

string2 = 'strange'

replace(p,t), replace(i,a), insert(e) = 3 actions = 3 differences

so the answer is 3

Solution Stats

53.45% Correct | 46.55% Incorrect
Last Solution submitted on Dec 21, 2022

Problem Comments

Solution Comments

Show comments

Problem Recent Solvers28

Suggested Problems

More from this Author11

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!