As soon as we started programming, we found to our surprise that it wasn’t as easy to get programs right as we had thought. Debugging had to be discovered. I can remember the exact instant when I realized that a large part of my life from then on was going to be spent in finding mistakes in my own programs. Maurice Wilkes

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.