摘要: Implement a SnapshotArray that supports the following interface: SnapshotArray(int length) initializes an array-like data structure with the given len 阅读全文
posted @ 2020-06-15 10:36 xuan_abc 阅读(154) 评论(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 @ 2020-06-15 05:51 xuan_abc 阅读(95) 评论(0) 推荐(0) 编辑