Problem 3063 · Medium

Linked List Frequency

Count how often each value appears, then build a new list with one node per distinct value holding its count.

Open the interactive visualisation