Back to Questions

Remove Duplicates from Sorted List

100.9K viewsAsked at Amazon
Easy

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

Practice answering orally or with text to get instant AI feedback.

Practice with This Question
Remove Duplicates from Sorted List - Interview Question