摘要: 问题: 给定k个有序链表,将这些链表的所有节点排序,组合成一个新的有序链表。 Example 1: Input: lists = [[1,4,5],[1,3,4],[2,6]] Output: [1,1,2,3,4,4,5,6] Explanation: The linked-lists are: 阅读全文
posted @ 2020-10-25 10:44 habibah_chang 阅读(111) 评论(0) 推荐(0) 编辑