Back to Question

Remove Duplicates from Sorted List

Question Explain

Given the head of a sorted linked list, delete all duplicates such that each element appears only once. The resulting list should also be sorted.

Start Trying This Question Simulation

Click "Start Speaking" and answer the question naturally.