What is extendible and linear hashing is? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

What is extendible and linear hashing is?

I figured I could try to figure it out, since its a way of verifying if something matches? Our professor didn't explain it too well and I would need it to access files for the assignment. But after some attempts of looking at hashing? I' not sure if its a built in function I can figure out to use or build one myself. Which I don't know how to start. If anyone can lead me to the right direction, I'd appreciate it. 🙇‍♀️

4th Nov 2019, 6:18 AM
Vanna Vu
Vanna Vu - avatar
2 Answers
+ 2
The problem with static hashing is that it does not expand or shrink dynamically as the size of the database grows or shrinks. Dynamic hashing provides a mechanism in which data buckets are added and removed dynamically and on-demand. Dynamic hashing is also known as extended hashing.
4th Nov 2019, 6:27 AM
Mohammed Qadir khan
Mohammed Qadir khan - avatar
+ 1
Extendible hashing is a dynamically updateable disk-based index structure which implements a hashing scheme utilizing a directory. The index is used to support exact match queries, i.e., find the record with a given key. ... Overflows are handled by doubling the directory which logically doubles the number of buckets.
4th Nov 2019, 6:27 AM
Mohammed Qadir khan
Mohammed Qadir khan - avatar