Problem 3659 · Medium
Split the values into equal groups of k where no group repeats a value. Counting each value settles it.
Open the interactive visualisation