Skip to content

Commit 415fdfc

Browse files
committed
public/private refactor
1 parent 90a6f2a commit 415fdfc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

com/williamfiset/algorithms/dp/EditDistance.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ public class EditDistance {
1111

1212
// Computes the cost to convert a string 'a' into a string 'b' using dynamic
1313
// programming given the insertionCost, deletionCost and substitutionCost, O(nm)
14-
static int editDistance(
14+
public static int editDistance(
1515
String a, String b, int insertionCost, int deletionCost, int substitutionCost) {
1616

1717
final int AL = a.length(), BL = b.length();

0 commit comments

Comments
 (0)