Problem 3063 · Medium
Count how often each value appears, then build a new list with one node per distinct value holding its count.
Open the interactive visualisation