Problem 82 · Medium

Remove Duplicates from Sorted List II

Remove every node whose value repeats in a sorted linked list and keep only values that appear once. The visual moves a pointer across each run of equal values and relinks around it.

Open the interactive visualisation