InterviewSolution
Saved Bookmarks
| 1. |
Collisions can be reduced by choosing a hash function randomly in a way that is independent of the keys that are actually to be stored.(a) True(b) FalseI would like to ask this question from Hash Tables topic in section Hash Tables of Data Structures & Algorithms IThe question was posed to me during an internship interview. |
|
Answer» CORRECT ANSWER is (a) True Explanation: Because of randomization, the algorithm can BEHAVE differently on each execution, providing GOOD average case PERFORMANCE for any input. |
|