So I have read that Python\'s set is not like a list because it\'s actually based on hash tables. So if I check if a value is present is it constant time O(1) ?
Examp