摘要: lc352 Data Stream as Disjoint Intervals 可以用treemap解 key保存interval的start,value保存interval的end。分别找出当前val的lowerKey(treemap中>val的最小key值,没有就返回null)和higherKe 阅读全文
posted @ 2019-05-24 13:50 南山南北秋悲 阅读(234) 评论(0) 推荐(0)