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, andd1 andd2denote 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?
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here