摘要: https://leetcode.com/problems/data-stream-as-disjoint-intervals/ Given a data stream input of non-negative integers a1, a2, ..., an, ..., summarize th 阅读全文
posted @ 2016-06-29 21:26 流白 阅读(163) 评论(0) 推荐(0) 编辑
摘要: https://leetcode.com/problems/remove-duplicate-letters/ Given a string which contains only lowercase letters, remove duplicate letters so that every l 阅读全文
posted @ 2016-06-29 09:21 流白 阅读(220) 评论(0) 推荐(0) 编辑
摘要: https://leetcode.com/problems/russian-doll-envelopes/ You have a number of envelopes with widths and heights given as a pair of integers (w, h). One e 阅读全文
posted @ 2016-06-29 05:45 流白 阅读(388) 评论(0) 推荐(0) 编辑
摘要: https://leetcode.com/problems/design-twitter/ Design a simplified version of Twitter where users can post tweets, follow/unfollow another user and is 阅读全文
posted @ 2016-06-29 01:09 流白 阅读(324) 评论(0) 推荐(0) 编辑
摘要: https://leetcode.com/problems/count-of-range-sum/ Given an integer array nums, return the number of range sums that lie in [lower, upper] inclusive. R 阅读全文
posted @ 2016-06-29 01:02 流白 阅读(208) 评论(0) 推荐(0) 编辑