[CareerCup] 1.7 Set Matrix Zeroes 矩陣賦零

Grandyang發表於2015-07-17

 

1.7 Write an algorithm such that if an element in an MxN matrix is 0, its entire row and column are set to 0.

 

LeetCode中的原題,請參見我之前的部落格Set Matrix Zeroes 矩陣賦零

相關文章