Data Structure: Unit V (b): Hashing Techniques

Properties of Good Hash Function

Hashing Techniques | Data Structure

The hash function should be simple to compute.

Properties of Good Hash Function

Rules for choosing good hash function

1. The hash function should be simple to compute.

2. Number of collisions should be less while placing the record in the hash table. Ideally no collision should occur. Such a function is called perfect hash function.

3. Hash function should produce such keys which will get distributed uniformly over an array.

4.The hash function should depend on every bit of the key. Thus the hash function that simply extracts the portion of a key is not suitable.

Review Question

1. What are the characteristics of good hashing function?

Data Structure: Unit V (b): Hashing Techniques : Tag: : Hashing Techniques | Data Structure - Properties of Good Hash Function


Data Structure: Unit V (b): Hashing Techniques



Under Subject


Data Structure

CS3301 3rd Semester CSE Dept | 2021 Regulation | 3rd Semester CSE Dept 2021 Regulation



Related Subjects


Discrete Mathematics

MA3354 3rd Semester CSE Dept | 2021 Regulation | 3rd Semester CSE Dept 2021 Regulation


Digital Principles and Computer Organization

CS3351 3rd Semester CSE Dept | 2021 Regulation | 3rd Semester CSE Dept 2021 Regulation


Foundation of Data Science

CS3352 3rd Semester CSE Dept | 2021 Regulation | 3rd Semester CSE Dept 2021 Regulation


Data Structure

CS3301 3rd Semester CSE Dept | 2021 Regulation | 3rd Semester CSE Dept 2021 Regulation


Object Oriented Programming

CS3391 3rd Semester CSE Dept | 2021 Regulation | 3rd Semester CSE Dept 2021 Regulation