IBS Software interview question

Difference between list and set