...

/

Set Matrix Zeroes

Set Matrix Zeroes

Try to solve the Set Matrix Zeroes problem.

Statement

Given a matrix, mat, if any element within the matrix is zero, set that row and column to zero.

Constraints:

...

Access this course and 1200+ top-rated courses and projects.

Create a free account to view this lesson.

By signing up, you agree to Educative's Terms of Service and Privacy Policy