Question
Download Solution PDFWhich open addressing technique is free from Clustering problems ?
This question was previously asked in
NIELIT Scientific Assistant CS 5 Dec 2021 Official Paper
Answer (Detailed Solution Below)
Option 3 : Double hashing
Free Tests
View all Free tests >
NIELIT Scientific Assistant Quantitative Aptitude Mock Test
0.5 K Users
20 Questions
20 Marks
30 Mins
Detailed Solution
Download Solution PDFThe correct answer is Double hashing.
Key Points
- Double hashing is an open addressing technique used in hash tables to resolve collisions.
- It is considered free from primary and secondary clustering problems, which makes it more efficient than linear or quadratic probing.
- In double hashing, two hash functions are used to calculate the probe sequence:
- The first hash function determines the initial position.
- The second hash function determines the step size for probing.
- Double hashing ensures a better distribution of keys and reduces the likelihood of clustering.
Additional Information
- Linear Probing (Option 1) – Suffers from primary clustering, where consecutive groups of occupied slots form, leading to longer search times.
- Quadratic Probing (Option 2) – Reduces primary clustering but can still suffer from secondary clustering (where different keys follow the same probing sequence).
- Double Hashing (Option 3) – Uses a second hash function to determine the probe interval, making it resistant to both primary and secondary clustering.
- Rehashing (Option 4) – This is not a probing technique but rather a resizing strategy when a hash table becomes too full.
Last updated on Feb 20, 2025
-> A total number of 113 revised vacancies have been announced for the post of Scientific Assistant in Computer Science (CS), Information Technology (IT), and Electronics & Communication (EC) streams.
-> Online application form, last date has been extended up to from 17th April 2025.
->The NIELT has revised the Essential Qualifications for the post of Scientific Assistant. Candidates must possess (M.Sc.)/ (MS)/ (MCA) / (B.E.)/ (B.Tech) in relevant disciplines.
-> The NIELIT Scientific Assistant 2025 Notification has been released by the National Institute of Electronics and Information Technology (NIELIT).