leetcode中那道Set Matrix Zeroes怎么做# JobHunting - 待字闺中
k*r
1 楼
是leetcode online judgement中的题目
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.
怎么弄出时间为O(mn),空间为O(1)的解法呢?
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.
怎么弄出时间为O(mn),空间为O(1)的解法呢?