Programming - Concept
Set
A way to group data where duplicate values are automatically removed
What's it for?
Makes it easy for software to track whether a value is present without keeping repeated copies.
For example…
A program puts customer countries into a set, so adding “UK” twice still leaves only one “UK” value