/** * Definition for singly-linked list. * struct ListNode { * int val; * ListNode *next; * ListNode(int x) : val(x), next(NULL) {} * }; */ #include <vector> class Solution { public: ListNode * Merge2(ListNode * pHead1,ListNode * pHead2){ if(pHead1 ==nullptr) ...