Video:

Sets Overview

April 2, 2021

Course Instructor: Elliot Forbes

Hey Gophers! My name is Elliot and I'm the creator of TutorialEdge and I've been working with Go systems for roughly 5 years now.

👋 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