Nextiva interview question

Create a custom set with maximum 3 duplicates