/*function ListNode(x){ this.val = x; this.next = null; }*/ function deleteDuplication(pHead) { var a={} var b=a while(pHead){ if(pHead.next!=null&&pHead.val==pHead.next.val){ //给连续相等的最后一个做上标识logo pHead=pHead.next pHead.logo=true }else{ // 如果有logo说明前面重复过,不要 if(pHead.logo==true){ pHead=pHead....