Loading problem…
You are updating a grid-based data table. If any cell contains 0, its entire row and column should be cleared to 0.
Given an m x n integer matrix, set the entire row and column to 0 for every cell that is originally 0. Return the resulting matrix. You may update the input in place or build a new matrix.