Remove Duplicates from Sorted List II (C# and Python3)

Given the head of a sorted linked list, delete all nodes that have duplicate numbers, leaving only distinct numbers from the original list. Return the linked list sorted as well.



Don’t miss these tips!

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

Open chat
Powered by