In place solution to SetMatrixZeroes but not very strong I don't think. I do one pass to scan the array, using the array and 2 bool as storage. Then I reiterate the last col and first row to mark 0's across the cols/rows. Then I do a separate pass for the bottom row and right column since the array storage is insufficient to store enough information to clear them correctly.