Merge k Sorted Lists
摘要:
leetcodeMergeksorted linked lists and return it as one sorted list. Analyze and describe its complexity.使用一个大小为K的堆来维持找当前的最小元素。一、Java当中的PriorityQueue如何... 阅读全文
posted @ 2015-06-15 17:03 F_G 阅读(188) 评论(0) 推荐(0) 编辑