A map, a list , and a vector can each be used to represent a things.
However,each has strengths and weaknesses.
For example:
subscripting a vector is cheap and easy.
On the other hand, inserting an element between two elements tends to be expensive.
A list has exactly the opppsite properties .
A map resemble s a list of (key,value)pair except that it is optimized for finding values based on keys.