Given amxnmatrix, if an element is 0, set its entire row and column to 0. Do it in place.1)O(m+n)算法:用两个数组,长度分别为m,n,如果有一个matrix[i][j] == 0,那么将数组col[j] ... Read More
posted @ 2015-08-10 19:38 sunalive Views(126) Comments(0) Diggs(0)