Skip to content

Commit b643938

Browse files
authored
Update 01-matrix.py
1 parent af4eecc commit b643938

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

Python/01-matrix.py

-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ def updateMatrix(self, matrix):
88
:type matrix: List[List[int]]
99
:rtype: List[List[int]]
1010
"""
11-
dp = [[float("inf")]*len(matrix[0]) for _ in xrange(len(matrix))]
1211
for i in xrange(len(matrix)):
1312
for j in xrange(len(matrix[i])):
1413
if not matrix[i][j]:

0 commit comments

Comments
 (0)