leetcode

73. Set Matrix Zeroes

Solution

Time complexity: O(m * n)

Space complexity: O(1)