Good code is its own best documentation. As you are about to add a comment, ask yourself, How can I improve the code so that this comment isn't needed? Improve the code and then document it to make it even clearer. Steve McConnell

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.



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



Please login to add comments.