Problem
Given anm x n integer matrix matrix, if an element is 0, set its entire row and column to 0’s. You must do it in place.
Examples
Constraints
- m == matrix.length
- n == matrix[i].length
- 1 <= m, n <= 200
- -2^31 <= matrix[i][j] <= 2^31 - 1
- Follow up: Could you devise a constant space solution?