Skip to content

Commit 8cf7639

Browse files
authored
Update editDistance.py
1 parent c24e28e commit 8cf7639

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

DP/editDistance.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
class Solution(object):
22
def minDistance(self, word1, word2):
3-
l 1= len(word1) + 1
3+
l1= len(word1) + 1
44
l2 = len(word2) + 1
55

66
dp = [[0 for b in xrange(l2)] for c in xrange(l1)]

0 commit comments

Comments
 (0)