Nokia interview question

Describe how map and vector work.