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:
• C++ Programming Tutorial
Github Repo for C++ Code:
https://github.com/ImKennyYip/cpp
Install C++ with VS Code:
• How to set up C++ in Visual Studio Code
Subscribe for more coding tutorials 😄!
⭐ If you enjoyed the tutorial and would like to support the channel, you can do so here 💖: https://buymeacoffee.com/kennyyipcoding