Set Matrix Zeroes
Medium
Matrix
If an element of an R x C matrix is 0, set its entire row and column to 0. Print the resulting matrix.
Constraints
1 <= R, C <= 200 -2^31 <= value <= 2^31 - 1
Discussion
No discussions yet.
Shalyam Support
Hi! Ask us anything — we'll reply on WhatsApp or Telegram within 24 hours.