C++ sets explained simply from @arrionknight
The speaker explains what sets are in C++, how they work, and how to use them to find duplicates in an array. He provides code examples and explains the time complexity of different types of sets.
Creator: @arrionknight on Instagram
Transcript
Tier, what do you mean you don't know what tier set is in c plus plus? But you already know if I can get you right though. A set stores unique elements. So let's say we have an array with one, two, three, and three in there. Well, if we put this in a set, we're gonna have one, two, and three because it doesn't store duplicates. You feel me? But before you start worse farming because you know what a set is, just chill out for a second because there's really levels to this. And when using a regula
Topics: Education, Tech, Education
61,529 views