Write an algorithm such that if an element in an MxN matrix is 0, its entire row and column is set to 0.
见leetcode
Set Matrix Zeroes
Cracking the Coding Interview Q1.7,布布扣,bubuko.com
时间: 2024-10-15 08:12:18
Write an algorithm such that if an element in an MxN matrix is 0, its entire row and column is set to 0.
见leetcode
Cracking the Coding Interview Q1.7,布布扣,bubuko.com