Set Matrix Zeroes
Problem
Given an m x n integer matrix matrix, if an element is 0, set its entire row and column to 0's
Intuition
Instead of using two extra matrices row and col, we will use the 1st row and 1st column of the given matrix to keep a track of the cells ...
set-matrix-zeroes.hashnode.dev3 min read