摘要: 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 @ 2019-02-23 23:17 WhoDreamsSky 阅读(136) 评论(0) 推荐(0) 编辑
摘要: Given a set of non-overlapping intervals, insert a new interval into the intervals (merge if necessary). You may assume that the intervals were initia 阅读全文
posted @ 2019-02-23 17:08 WhoDreamsSky 阅读(80) 评论(0) 推荐(0) 编辑
摘要: Given an array nums of n integers and an integer target, are there elements a, b, c, and d in nums such that a + b + c + d = target? Find all unique q 阅读全文
posted @ 2019-02-23 14:11 WhoDreamsSky 阅读(83) 评论(0) 推荐(0) 编辑
摘要: 题目: Given an array of n integers nums and a target, find the number of index triplets i, j, k with 0 <= i < j < k < n that satisfy the condition nums[ 阅读全文
posted @ 2019-02-23 10:08 WhoDreamsSky 阅读(159) 评论(0) 推荐(0) 编辑