Accenture interview question

difference between vector and list