Leetcode之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.  Follow up: Did you use extra space? A straight forward solution using O(mn) space is probably a bad
相關文章
相關標籤/搜索