mirror of
https://github.com/aykhans/leet-code-problems.git
synced 2025-04-17 04:03:12 +00:00
Added set_zeroes
This commit is contained in:
parent
c8082eafc0
commit
5f40879d9a
@ -117,7 +117,6 @@ class AcceptedMedium:
|
||||
for c in range(column_len):
|
||||
for r in range(row_len):
|
||||
if matrix[c][r] == 0 and [c, r] not in dont_replace:
|
||||
print(c, r)
|
||||
for i in range(column_len):
|
||||
if matrix[i][r] != 0:
|
||||
matrix[i][r] = 0
|
||||
|
Loading…
x
Reference in New Issue
Block a user