GATEverse
← GATE CSE 1996

Q15

MCQMarks unknown

Insert the characters of the string K R P C S N Y T J MK \ R \ P \ C \ S \ N \ Y \ T \ J \ M into a hash table of size 1010. Use the hash function

h(x)=(ord(x)–ord(“a”)+1)mod  10h(x)=( ord (x) – ord (\text{“}a\text{”}) + 1) \mod 10

and linear probing to resolve collisions.

Sign in to save attempts.

Loading…