Question 1466 – Data-Structures
November 28, 2023
Question 8748 – Software-Engineering
November 28, 2023
Question 1466 – Data-Structures
November 28, 2023
Question 8748 – Software-Engineering
November 28, 2023

Question 1465 – Data-Structures

The characters of the string K R P C S N Y T J M are inserted into a hash table 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

Correct Answer: C

Question 326 Explanation: 
Given information,
Hash table size=10 and index starts from 0 to 9.
String=K R P C S N Y T J M
hash function = h(x) = ((ord(x) – ord(A) + 1)) mod 10

A
Y
B
C
C
M
D
P
0 0 votes
Article Rating
Subscribe
Notify of
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x
error: Alert: Content selection is disabled!!