摘要: 题目:Given amxnmatrix, if an element is 0, set its entire row and column to 0. Do it in place.click to show follow up.Follow up:Did you use extra space?... 阅读全文
posted @ 2015-07-09 10:51 Hygeia 阅读(131) 评论(0) 推荐(0) 编辑
摘要: 题目Given an integern, generate a square matrix filled with elements from 1 ton2in spiral order.For example,Givenn=3,You should return the following mat... 阅读全文
posted @ 2015-07-09 10:02 Hygeia 阅读(142) 评论(0) 推荐(0) 编辑