Deloitte interview question

Difference between a list and a set