Domanda di colloquio di Revature

set vs list

Risposta di colloquio

Anonimo

13 lug 2017

The main differences between sets and lists are that 1) a set cannot contain any duplicates, but a list can. 2) order - a list is an ordered list, but a set is an unordered list - the order is irrelevant.