Interview Questions
Interview Guides
Experiences
Explore
Get started
Sign in
Interview Guides
All questions
/
Coding
Matrix Row/Column Zeroing
Medium
Asked at 1 company
Math
Arrays
Matrix
Problem
Change all elements of row i and column j in a matrix to 0 if cell (i, j) is 0
Question
Answer
Problem
Change all elements of row i and column j in a matrix to 0 if cell (i, j) is 0
Your answer
Edit
Preview
Try one AI text evaluation on us
Get structured feedback, scored against a 4-axis rubric. Premium unlocks unlimited.
0 words
target ~200
Try a free preview
Stuck? Get a hint
Past attempts
Up next
Traverse and Modify 2D Arrays (Duplicate)
Medium
Rotate Matrix In Place
Medium
Next question
Matrix Row/Column Zeroing | Dataford Interview Questions