0

What is the advantages of sets?

7th Apr 2016, 10:53 AM
Ergash Zaripov
Ergash Zaripov - avatar
1 Antwort
+ 2
Due to the way elements are stored in a set, it's faster to check whether an item is part of a set, rather than part of a list. Sets are generally used when you need uniqueness of elements.
23rd May 2016, 12:13 PM
James Flanders