GATE Assistant

Past questions › Computer Science and Information Technology › GATE 2022

GATE 2022 · CS · MCQ · 1 mark · Programming and Data Structures › Hashing

GATE 2022 Computer Science and Information Technology question: Suppose we are given n keys, m hash table slots, and two simple uniform hash functions h…

Suppose we are given keys, hash table slots, and two simple uniform hash functions and . Further suppose our hashing scheme uses for the odd keys and for the even keys. What is the expected number of keys in a slot?

  1. (A)

  2. (B)

  3. (C)

  4. (D)

Show answer

Official answer: B

Practise this question with exam-style marking

Discussion

No discussion yet.

Join the discussion