摘要: Proble statement: Given a collection of intervals, merge all overlapping intervals. For example,Given [1,3],[2,6],[8,10],[15,18],return [1,6],[8,10],[ 阅读全文
posted @ 2017-02-06 03:43 蓝色地中海 阅读(149) 评论(0) 推荐(0)
摘要: Problem statement: Given a m x n matrix, if an element is 0, set its entire row and column to 0. Do it in place. Follow up: Did you use extra space?A 阅读全文
posted @ 2017-02-06 03:33 蓝色地中海 阅读(245) 评论(0) 推荐(0)