👋 Hey Gophers, in this video, we are going to look at the Set data structure and look at how it works under the covers and how it is useful to us as developers.
The Set Data Structure
The Set data structure is somewhat similar to lists or arrays, but it adheres to a couple of constraints.
Uniqueness - The first contraint a Set adheres to is that every element must be unique within the set.
Non-ordered - Sets don’t store these elements in any particular order