1.7 Write an algorithm such that if an element in an MxN matrix is 0, its entire row and column are set to 0.
LeetCode中的原题,请参见我之前的博客Set Matrix Zeroes 矩阵赋零。
2023-07-31 22:18:46
1.7 Write an algorithm such that if an element in an MxN matrix is 0, its entire row and column are set to 0.
LeetCode中的原题,请参见我之前的博客Set Matrix Zeroes 矩阵赋零。