Merge k Sorted Lists (Java)
Merge k sorted
linked lists and return it as one sorted list. Analyze and describe its complexity.
merge two sorted lists那道题的升级版。
Source
/**
* Definition for singly-linked list.
* public class
原创
2015-02-06 18:49:26 ·
367 阅读 ·
0 评论