Skip to content

Beta · Data may be lost.Your data may be reset or lost.

GateBrew
← GATE CSE 2022
Questions

Q6

MCQ1 mark, −0.33Algorithms

Suppose we are given nn keys, mm hash table slots, and two simple uniform hash functions h1h_{1} and h2.h_{2}. Further suppose our hashing scheme uses h1h_{1} for the odd keys and h2h_{2} for the even keys. What is the expected number of keys in a slot?

Sign in to save attempts.

Solutions and discussion are hidden while you attempt this question. They open once you check or show the answer.