Pregunta de entrevista de IBM

Difference between array and vector