EY interview question

Explain difference between List vs set