There are two ways of constructing a software design: One way is to make it so simple that there are obviously no deficiencies, and the other way is to make it so complicated that there are no obvious deficiencies. The first method is far more difficult. C.A.R. Hoare

Edit Distance

Language Java | Level Intermediate | Category Algorithms | August 4, 2015 9:26 am


Algorithm Problem Description

Edit distance is a way of quantifying how dissimilar two strings are to one another by counting the minimum number of operations required to transform one string into the other.

Output

          	        
          	        

Edit distance between 'helloworld' and 'owo' is 7

          	        
          	        				    


Comments



Please login to add comments.