Microsoft Interview Question: For a 2d array of integers, i... | Glassdoor

Interview Question

Software Developer Interview(Student Candidate) Redmond, WA

For a 2d array of integers, if there is a 0 in a position

 , make it's entire row and column all 0's.

Interview Answer

1 Answer


Hmm.. doesn't this just mean make the entire 2D array 0s if you find 1 zero in the 2D array?

Anonymous on Mar 25, 2013

Add Answers or Comments

To comment on this, Sign In or Sign Up.