Striver’s sde sheet day 1 problem 1

Problem Statement: Given a matrix if an element in the matrix is 0 then you will have to set its entire column and row to 0 and then return…