Question #52116

Why List allows duplicates while Set not?

Expert's answer

Set structure is analogue of math structure called set. In math. In math, a set

is a collection of distinct objects and sequence is just an enumerated

collection of objects.

## Comments

## Leave a comment