Set Matrix Zeroes const space solution# JobHunting - 待字闺中
S*n
1 楼
Given a m x n matrix, if an element is 0, set its entire row and column to 0
. Do it in place.
Could you devise a constant space solution?
谁给点提示,一下想不出来
. Do it in place.
Could you devise a constant space solution?
谁给点提示,一下想不出来