/* struct ListNode { int val; struct ListNode *next; ListNode(int x) : val(x), next(NULL) { } }; */ class Solution { public: ListNode* deleteDuplication(ListNode* pHead) { // 处理空链表 if(!pHead){ return nullptr; } ListNode *res = new ListNode(0); // 建立虚表头 res->next = pHead; // 链接 ListNode *cur = res...