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. 原题链接:https://leetcode.com/problems/merge-two-sorted-lists/ 思路 就遍历一遍,比较大小依次插入新链表。注意一下某一个链表为空的状态,或者先遍历完。 代码(C) /** * Def…