Here are some short researches that I done to figure out all the difference between arrays and sets
Basics about set operations
Practically, here are some differences between sets and arrays
- No random access of set elements (no notion of index). Array can random access any element.
- No notion of ordering, so probably no way to do set1 + set2 for element-wise sum.
- Availability of set operations, set1+ set2, union of the two sets. It would be unclear for array.