/** * struct ListNode { * int val; * struct ListNode *next; * ListNode(int x) : val(x), next(nullptr) {} * }; */ #include <climits> class Solution { public: ListNode *mergeList(ListNode *head1, ListNode *head2){ ListNode tmp(0); ListNode *newHead = &tmp, *curH1 = ...