Podcast
Questions and Answers
What is the method of hashing that uses a selection of digits as the key?
What is the method of hashing that uses a selection of digits as the key?
What is the assumption made when extracting 3 digits as the key?
What is the assumption made when extracting 3 digits as the key?
What is the purpose of using the modulus operator in hash functions?
What is the purpose of using the modulus operator in hash functions?
What happens when the majority of keys end in a 0 in the hash table?
What happens when the majority of keys end in a 0 in the hash table?
Signup and view all the answers
What is the advantage of the extraction method of hashing?
What is the advantage of the extraction method of hashing?
Signup and view all the answers
What is the disadvantage of the extraction method of hashing?
What is the disadvantage of the extraction method of hashing?
Signup and view all the answers
What is the purpose of using the hash function h(K) = K % T?
What is the purpose of using the hash function h(K) = K % T?
Signup and view all the answers
What is the range of values returned by the modulus operator in hash functions?
What is the range of values returned by the modulus operator in hash functions?
Signup and view all the answers
What is the requirement for the indices generated by the hash function?
What is the requirement for the indices generated by the hash function?
Signup and view all the answers
What is the result of using the hash function h(K) = K % 10 when the majority of keys end in a 0?
What is the result of using the hash function h(K) = K % 10 when the majority of keys end in a 0?
Signup and view all the answers