Set Matrix Zeroes
Given an m x n integer matrix matrix, if an element is 0, set its entire row and column to 0s. You must do it in place.
Set Matrix Zeroes

Given an m x n integer matrix matrix, if an element is 0, set its entire row and column to 0s. You must do it in place.

Example 1:
Input: [[1,1,1],[1,0,1],[1,1,1]]
Output: [[1,0,1],[0,0,0],[1,0,1]]
Input
arr =[[1,1,1],[1,0,1],[1,1,1]]

Start

1

1

1

1

0

1

1

1

1

Variables
No variables to display
DepthFunction Call
Stack empty
0/18