/* struct ListNode { int val; struct ListNode *next; ListNode(int x) : val(x), next(NULL) { } };*/ class Solution { public: ListNode *resolve(ListNode *pHead) { if (!pHead) return NULL; ListNode *pNextNode = resolve(pHead->next); if (!pNextNode) { r...