Skip to content
RED SAGSkills
medium10 pts · first answer countshash-mapinternalstime-complexity

Cost of resizing a hash table

When a hash table grows, every entry must be rehashed into the new bucket array. Why is insert still O(1) amortized?

Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions