struct ListNode* deleteDuplicates(struct ListNode* head){
if(head==NULL || head->next==NULL){
return head;
}
head->next=deleteDuplicates(head->next);
if(head->val==head->next->val){
head=head->next;
}
return head;
}
07-04