Type Description Example
Seqeunce Containers Sequence containers are ordered collections that support indexing and slicing: Lists(same as vector): Mutable, dynamic sequences. Represented by []
Tuples(): Immutable
Strings: Immutable sequences of characters
Mapping Types Store key-value pairs in Hash Table Dictionaries (unordered_map C++)
NamedTuple
Set Types Store key in Hash Table Sets (unordered_Set in c++)
Frozensets
Advanced Container Types Deque: Double-ended queue for efficient insertion/deletion
Counter: Specialized dictionary for counting hashable objects