Skip to content

Commit 2fc4759

Browse files
Update data_structures/arrays/set_matrix_zeroes.py
Co-authored-by: priya-sundaram-dev <oc-409d01@agentmail.to>
1 parent d823048 commit 2fc4759

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

‎data_structures/arrays/set_matrix_zeroes.py‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@
1919
>>> set_matrix_zeroes(matrix)
2020
>>> matrix
2121
[[1, 0, 1], [0, 0, 0], [1, 0, 1]]
22+
>>> matrix = [[0, 1, 2, 0], [3, 4, 5, 2], [1, 3, 1, 5]]
23+
>>> set_matrix_zeroes(matrix)
24+
>>> matrix
25+
[[0, 0, 0, 0], [0, 4, 5, 0], [0, 3, 1, 0]]
2226
"""
2327

2428

0 commit comments

Comments
 (0)