[leetcode] Merge Two Sorted Lists
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. 简单题,归并排序即可。 /** * Definition for singly-linked list. * struct ListNode { * int val; * ListNode *next; * […]