Write constraint for an integer array with 10 elements such that exactly 3 of them are same and rest are unique

In reply to totochan1985:

It’s doing exactly what the original poster asked for. Can you highlight a piece of syntax that you do not understand?

1 Like