Booking.com interview question

Difference between a set and a list