摘要: Given a data stream input of non-negative integers a1, a2, ..., an, ..., summarize the numbers seen so far as a list of disjoint intervals. For exampl 阅读全文
posted @ 2016-07-20 14:38 LiBlog 阅读(144) 评论(0) 推荐(0) 编辑
摘要: Given a non-empty 2D matrix matrix and an integer k, find the max sum of a rectangle in the matrix such that its sum is no larger than k. Example: The 阅读全文
posted @ 2016-07-20 13:12 LiBlog 阅读(319) 评论(0) 推荐(0) 编辑