edited by
851 views
0 votes
0 votes

edited by

2 Answers

Best answer
5 votes
5 votes

Answer would be 3) It minimizes the number of collision, because The most important property of hash function is that it should uniformly distribute the keys so that less number of collision occurs. (Refer CLRS).

Now Comes to Other options.

1) It minimizes the rate of overflow: Overflow is not property of the hash function, I mean its a choice made by the programmer to choose the size of hash table. If No of keys > No of slots then there will be overflow but if No of keys < no of slot then there will be collision but not overflow.

2) It preserve the order of key value: No not at all. It does not preserve order of key. Its not at a characteristics or even a considerable point in hashing.

selected by
0 votes
0 votes

Hash functions compress a n (abritrarily) large number of bits into a small number of bits

Properties

  • One way; can not be reversed
  • Output does not reveal information on input
  • Hard to find collisions (different messages with same hash)

Related questions

0 votes
0 votes
2 answers
1
rahul sharma 5 asked Dec 4, 2017
1,695 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
2
1 votes
1 votes
2 answers
3
Amit puri asked Aug 23, 2016
540 views