In double hashing, the hash function for probe i (where i=0,1,2,…) is given by:
h(k,i)=(h1(k)+i⋅h2(k))modm Given:
Table size m=23
h1(k)=kmod23
h2(k)=1+(kmod19)
Compute $h_1(90)$ and $h_2(90)$:
h1(90)=90mod23=90−(3×23)=90−69=21
h2(90)=1+(90mod19)=1+(90−4×19)=1+(90−76)=1+14=15
For probe 1 (i=1):
h(90,1)=(h1(90)+1⋅h2(90))mod23 h(90,1)=(21+15)mod23=36mod23=13 Thus, the address returned by probe 1 is 13.