LeetCode 23. Merge k Sorted Lists(合併 k 個有序鏈表)

原題 Merge k sorted linked lists and return it as one sorted list. Analyze and describe its complexity. 題目: 合併 k 個排序鏈表,返回合併後的排序鏈表。請分析和描述算法的複雜度。 Example: Input: [ 1->4->5, 1->3->4, 2->6 ] Output: 1
相關文章
相關標籤/搜索