EPAM Systems interview question

difference between set and arraylist