Pregunta de entrevista de Bloomberg

What is the difference between a set and an array?