Quiz

Question 1 of 3. 0 correct, 0 incorrect.

A set keeps its items in an array and each item's index in a hash map, so that it can pick a random item in O(1). How does it delete an item in O(1)?