903 views
0 votes
0 votes

Consider an initially empty symbol table implemented using a hash table of size ‘B’ with hash function h(C) = mod B. In worst case for any possible sequence of inputs where N > B, what is the order of growth of inserting N (key, value) pairs with distinct key into table, if separate chaining is used to resolve collisions?

A Ο(N)

B Ο (N log N)

C Ο(N3)

D Ο(N2)

Please log in or register to answer this question.

Related questions

0 votes
0 votes
2 answers
1
rahul sharma 5 asked Dec 4, 2017
1,691 views
S1 :- if load factor of hash table is less than 1 then there are no collisionS2:- As the size of hash table increases, the number of collisions will decrease.True false?
1 votes
1 votes
1 answer
3
0 votes
0 votes
2 answers
4
Desert_Warrior asked Jun 4, 2016
850 views