Question: Consider the following hash strategy. division method table size m = 2 5 m = 2 5 h ( k ) = ( k +

Consider the following hash strategy.
division method
table size
m
=
2
5
m=2
5
h
(
k
)
=
(
k
+
1
)
m
o
d
m
h(k)=(k+1)modm
Which of the following statements is correct?
Choice 1 of 4: The strategy has no problems.
Choice 2 of 4: m should be a prime number.
Choice 3 of 4: The hash function is not correct.
Choice 4 of 4: m should be a power of 7.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!