Definition
it’s a collection of unordered objects
properties of a set?
no index , no key , no sequence , no duplicates
benefits of a set?
no duplicates , very fast lookup
how to store a set?
using a hash table but instead a key and a value it’s an index with a value like just storing 1 and the object itself
is a set used for retrieval?
no it’s used to check for membership like do i have this product in my list of products