Given an m x n integer matrix, if an element is 0, set its entire row and column to 0. Do it in place.
Constraints: m, n ∈ [1, 200] · matrix[i][j] ∈ [-2⁹, 2⁹ - 1]
Follow up: Can you do it with O(1) extra space?
Given a matrix, if an element is 0, set its entire row and column to 0. Sounds straightforward — find the zero and zero its row and column. Try it.