程序媛詹妮弗
终身学习
摘要: You have k lists of sorted integers in ascending order. Find the smallest range that includes at least one number from each of the k lists. We define 阅读全文
posted @ 2018-05-25 04:28 程序媛詹妮弗 阅读(837) 评论(0) 推荐(1) 编辑
摘要: 我们知道Queue是遵循先进先出(First-In-First-Out)模式的,但有些时候需要在Queue中基于优先级处理对象。举个例子,比方说我们有一个每日交易时段生成股票报告的应用程序,需要处理大量数据并且花费很多处理时间。客户向这个应用程序发送请求时,实际上就进入了队列。我们需要首先处理优先客 阅读全文
posted @ 2018-05-25 01:21 程序媛詹妮弗 阅读(535) 评论(0) 推荐(0) 编辑