Skip to content

Latest commit

 

History

History
1 lines (1 loc) · 353 Bytes

11.6.md

File metadata and controls

1 lines (1 loc) · 353 Bytes

A set is an associative container while a list is a sequential container. Elements in list can be sorted by user while elements in set is sorted automatically (except unordered version). A list can be ordered while a set is un-ordered. We can't enforce an arbitrary order by placing an arbitrary element in an arbitrary position in a set.