Uber interview question

What's the main difference between a Set and a List?

Interview Answer

Anonymous

12 Jul 2018

A list can have duplicates, but a set cannot.