GATE Assistant

Past questions › Computer Science and Information Technology › GATE 2026 set1

GATE 2026 set1 · CS · MSQ · 1 mark · Programming and Data Structures › Hashing

GATE 2026 set1 Computer Science and Information Technology question: Consider a hash table P[0, 1, , 10] that is initially empty. The hash table is…

Consider a hash table that is initially empty. The hash table is maintained using open addressing with linear probing. The hash function used is .

Consider the following sequence of insertions performed on :

1, 13, 22, 15, 11, 24

Which of the following positions in the hash table is/are empty after these insertions are performed?

  1. (A)

    0

  2. (B)

    10

  3. (C)

    2

  4. (D)

    1

Show answer

Official answer: C

Practise this question with exam-style marking

Discussion

No discussion yet.

Join the discussion