Closed Amer-Mukhtar closed 3 weeks ago
Closes issue #200 Problem Statement: Given the head of a sorted linked list, delete all duplicates such that each element appears only once. Return the linked list sorted as well.
Example: Input: head = [1,1,2] Output: [1,2]
Closes issue #200 Problem Statement: Given the head of a sorted linked list, delete all duplicates such that each element appears only once. Return the linked list sorted as well.
Example: Input: head = [1,1,2] Output: [1,2]