C++ Data Structures: Deques, Sets, Maps
Channel:
Subscribers:
2,700
Published on ● Video Link: https://www.youtube.com/watch?v=i8ZGkXSkNd0
Today we went through some slightly more advanced data structures in C++, more than just the vector and string classes we know already.
Deques are vectors that allow you to pop and push at the front in O(1) time
sets/unordered_sets hold or don't hold an object
maps/unordered_maps hold key/value pairs that allow you to quickly insert, search, and delete the values from the data structure using the key.