Hash Sets & Uniqueness Test

Question 1 of 4

Why does checking 'x in my_set' take O(1) time while 'x in my_list' takes O(N) time?

Tip: Press 1-4 on keyboard to select.