...

/

Remove Duplicates from Sorted List

Remove Duplicates from Sorted List

Try to solve the Remove Duplicates from Sorted List problem.

Statement

Given the head of a sorted linked list, remove all duplicates such that each element appears only once, and return the list in sorted order.

Constraints:

  • 00 \leq ...