Data Structures | Hash | Question 3

Last Updated :
Discuss
Comments

The keys 12, 18, 13, 2, 3, 23, 5 and 15 are inserted into an initially empty hash table of length 10 using open addressing with hash function h(k) = k mod 10 and linear probing. What is the resultant hash table?

 

A

B

C

D

Share your thoughts in the comments