J.P. Morgan interview question

Difference between a set and a list