Remove Duplicates from Sorted List (C# and Python3)

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.

c#

Python3

Don’t miss these tips!

We don’t spam! Read our privacy policy for more info.

Open chat
Powered by