The characters of the string K R P C S N Y T J M are inserted into a hash…
ISRO Scientist/Engineer SC 2017Modified — slightly modified from the official paper; see the solution
The characters of the string K R P C S N Y T J M are inserted into a hash table of size of size 10 using hash function
h(x) = (ord(x) − ord(A) + 1) mod 10
If linear probing is used to resolve collisions, then the following insertion causes collision
- A.
Y
- B.
C
- C.
M
- D.
P
Attempted by 364 students.
Sign up free to check your answer
Sign up freeLoading lesson…

