[LeetCode] Merge Two Sorted Lists
//题目描述:Merge two sorted linked lists and return it as a new list. The new list should be made by splicing //together the nodes of the first two lists.思路:创建一个新的链表,将l1,l2中元素按由小到大依次插入。wrong的原因是,最初在最后返回的是
原创
2014-11-27 17:22:06 ·
376 阅读 ·
0 评论