摘要: Given a m x n matrix, if an element is 0, set its entire row and column to 0. Do it in place.Did you use extra space?A straight forward solution using... 阅读全文
posted @ 2014-04-09 14:38 linyx 阅读(179) 评论(0) 推荐(0) 编辑
摘要: Write an efficient algorithm that searches for a value in an m x n matrix. This matrix has the following properties:Integers in each row are sorted fr... 阅读全文
posted @ 2014-04-09 11:54 linyx 阅读(194) 评论(0) 推荐(0) 编辑