Consider the following cuckoo hashing with 2 tables. Both tables have a size of 11. The hashing function of the first ta

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899604
Joined: Mon Aug 02, 2021 8:13 am

Consider the following cuckoo hashing with 2 tables. Both tables have a size of 11. The hashing function of the first ta

Post by answerhappygod »

Consider the following cuckoo
hashing with 2 tables. Both tables have a size of
11.
The hashing function of
the first table is:
h1(k)=kmod11
The hashing function of
the second table is:
h2(k)=⌊k11⌋mod11
(Note: mod is the modulo operation.
It returns the remainder of a division. For example, "3 mod 11 = 3"
and "20 mod 11 = 9".)
The following sequence of insert operations are performed:
Which of the following is TRUE after the above operations?
Group of answer choices
53 is in the first table
75 is in the first table
50 is in the second table
The second table is empty
The first table is empty
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply