For larger sets, use a set or a map, which will pe...
# getting-started
c
For larger sets, use a set or a map, which will perform this operation in constant time (it’s linear here). Are you familiar with these concepts, “constant time” and “linear”?