There was an error while loading. Please reload this page.
1 parent c24e28e commit 8cf7639Copy full SHA for 8cf7639
DP/editDistance.py
@@ -1,6 +1,6 @@
1
class Solution(object):
2
def minDistance(self, word1, word2):
3
- l 1= len(word1) + 1
+ l1= len(word1) + 1
4
l2 = len(word2) + 1
5
6
dp = [[0 for b in xrange(l2)] for c in xrange(l1)]
0 commit comments