[leetcode] Set Matrix Zeroes
Set Matrix Zeroes Given a m x n matrix, if an element is 0, set its entire row and column to 0. Do it in place. click to show follow up. Follow up:Did you use extra space? A straight forward solution using O(mn) space is probably a bad idea. A […]