Set Matrix Zeroes

Given a matrix, if an element is 0, set its entire row and column to 0. Return the resulting matrix.

Examples
Input: [[1,1,1],[1,0,1],[1,1,1]]
Output: [[1,0,1],[0,0,0],[1,0,1]]
Hints
Related Problems

Set Matrix Zeroes

Given a matrix, if an element is 0, set its entire row and column to 0. Return the resulting matrix.