Given the head of a sorted linked list, delete all duplicates so each element appears only once. Return the linked list sorted.
Click Run to execute sample tests.