Sets in C++. A set is a collection of unique elements (no duplicates). A C++ set is in sorted order, whereas in other languages, a set may not be sorted. An unordered set is not ordered by insertion, nor sorted. A vector is ordered by insertion (not sorted). In this video, we will go over the differences between a set and a vector, and cover the different kinds of sets: set, unordered_set, and multiset.
C++ Playlist:
https://www.youtube.com/playlist?list=PLnKe36F30Y4ZDNIOZ51sX25pWKQ1pkpTE
Github Repo for C++ Code:
https://github.com/ImKennyYip/cpp
Install C++ with VS Code:
https://youtu.be/DMWD7wfhgNY
Subscribe for more coding tutorials !