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

Example:

string1 = 'spring'

string2 = 'strange'

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

so the answer is 3

Solution Stats

64 Solutions

32 Solvers

Last Solution submitted on Dec 14, 2025

Last 200 Solutions

Problem Comments

Solution Comments

Show comments
Loading...