setMatrixZeros

two method, I figured out only the O(m+n), and learned the other one.