Accenture Interview Question

difference between vector and list