1 votes 1 votes Consider a hash table of sze seven, with starting index zero, and a hash function (7x+3) mod 4. Assuming that the hash table is initially empty, which of the following is the contents of the table when the sequence 1, 3, 8, 10 is inserted into the table using closed hashing? Here "____" denotes an empty location in the table. 3, 10, 1, 8, ___ , ____ , ____ 1, 3, 8, 10, ___, ___, ___ 1, ___, 3, ___, 8, ___, 10 3, 10, ___, ____, 8, ___, ___ DS ugcnetcse-july2018-paper2 data-structures hashing + – Pooja Khatri asked Jul 13, 2018 recategorized May 23, 2020 Pooja Khatri 3.0k views answer comment Share Follow See all 0 reply Please log in or register to add a comment.
1 votes 1 votes Put the values 1,3,8,10 in Hash Function. For 1 -> (7*1+3) mod 4 = 2 , So 1 will go at location 2. For 3-> (7*3+3) mod 4 = 0, So 3 will go at location 0. and so on. Option (1) is correct. shahidhope answered Jul 14, 2018 shahidhope comment Share Follow See all 0 reply Please log in or register to add a comment.