Problem 3396 · Easy

Minimum Number of Operations to Make Elements in Array Distinct

Remove the first three elements each operation; find how many removals leave a distinct suffix.

Open the interactive visualisation