Consider the two hash functions ( A and B ) given below A = (d 1 + d 2 ) B = ((d 1 ) 2 + 7d 2 ) Suppose Company XYZ wants to store information about some employees in its sales department, and d 1 and...


Consider the two hash functions (A andB) given below


A = (d1+ d2)


B = ((d1)2
+ 7d2)


Suppose Company XYZ wants to store information about some employees in its sales department, and
d1

 andd2

denote the first and second digits of an employee ID respectively. Which of the two hash functions is a better choice for company XYZ, and why?



Jun 11, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here