The characters of the string K R P C S N Y T J M are inserted into a hash…

ISRO Scientist/Engineer SC · December 2017 · Computer ScienceModified — 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

  1. A.

    Y

  2. B.

    C

  3. C.

    M

  4. D.

    P

Attempted by 300 students.

Show answer

Correct answer: C

The worked solution is available to enrolled students.

Video solution available to enrolled students.

Explore the full course: Iocl Engineers Officers Grade A Paper 2

Loading lesson…