Question about Remove Duplicates from Sorted List

  • 0

    For the problem RDSL1, I wonder whether the correct code should delete all duplicate ones instead of only the adjacent ones?

    Given 1->2->3->1->2, what should be the output?

  • 1

    It's a sorted linked list, Please read the Problem carefully before you codding;

Log in to reply

Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.