/* struct ListNode { int val; struct ListNode *next; ListNode(int x) : val(x), next(NULL) { } };*/ class Solution { public: ListNode* Merge(ListNode* pHead1, ListNode* pHead2) { if(pHead1==NULL)return pHead2; if(pHead2==NULL)return pHead1; //工具指针 ListNode*head,*tail;//用于返回的链表 ListNode*p,*q;//用于进行比较的...