InterviewSolution
Saved Bookmarks
| 1. |
Which of the following is the worst hash function among the given choices(a) The sum of the digits modulo 8(b) The sum of the digits modulo 2(c) The sum of the digits modulo 5(d) The sum of the digitsThe question was asked in unit test.This interesting question is from Static Hashing in portion Indexing and Hashing of RDBMS |
|
Answer» CORRECT option is (d) The sum of the digits To elaborate: The sum of the digits classifies the data into the highest number of BUCKETS, thus making the job to TRACK the buckets more DIFFICULT than the rest. |
|