soulmachine / leetcode

LeetCode题解,151道题完整版。
BSD 3-Clause "New" or "Revised" License
11.3k stars 3.43k forks source link

Merge k Sorted Lists #80

Open lxieyang opened 8 years ago

lxieyang commented 8 years ago

解决了超时的问题。应该使用multi-pass来两两merge