Capgemini interview question

Difference between list and vector