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.
解题分析:
对于此题目,应该先加一个头结点,然后依次比较两个有序的 list 然后将比较
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.
解题分析:
对于此题目,应该先加一个头结点,然后依次比较两个有序的 list 然后将比较