Pregunta de entrevista de J.P. Morgan

Difference between a set and a list