Cracking the Coding Interview Q1.7

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

 

见leetcode 

Set Matrix Zeroes

posted @ 2014-07-07 23:03  jdflyfly  阅读(85)  评论(0编辑  收藏  举报