Set
A collection of distinct values with no order, used for membership tests: is this already in? Adding a duplicate changes nothing, which makes it a natural way to remove duplicates.
- See also: Hash map
- Used in: Data Structure Basics
A collection of distinct values with no order, used for membership tests: is this already in? Adding a duplicate changes nothing, which makes it a natural way to remove duplicates.