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

Designing a basic hash set

You implement a hash set of integers using key % B to choose among B buckets, each a small list. Why do textbooks often choose B as a prime number?

Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions