Set Matrix Zeroes
Given an m x n integer matrix, if any cell holds 0, set its **entire row and column** to 0.
Do this **in place**: mutate the input matrix directly and return that same matrix (do not allocate a new one).
Example cases
- single zeroin matrix =111101111out [[1,0,1],[0,0,0],[1,0,1]]The zero at (1,1) clears row 1 and column 1.
- two zeroesin matrix =012034521315out [[0,0,0,0],[0,4,5,0],[0,3,1,0]]
- no zeroin matrix =1234out [[1,2],[3,4]]
Constraints
- m == matrix.length
- n == matrix[0].length
- 1 <= m, n <= 200
- -2^31 <= matrix[i][j] <= 2^31 - 1
matrix =
[[1,1,1],[1,0,1],[1,1,1]]