解决方法 /* struct ListNode { int val; struct ListNode *next; ListNode(int x) : val(x), next(NULL) { } };*/ class Solution { public: ListNode* Merge(ListNode* pHead1, ListNode* pHead2) { // 初始化:cur指向新链表的头结点, p1, p2分别指向链表l1, l2的头 // 1.两个节点l1, l2,如果p1指向的节点值小于等于p2指向的节点,则cur->next=p1;cur++;p1++; 否则,cur-&...