Hash Tables on Data Structure and Algorithms related Questions and Answers - Page 4

Question 31 : Which of the following is a disadvantage of using separate chaining using linked lists?
1. It requires many pointers
2. It requires linked lists
3. It uses array
4. It does not resolve collision
View Answer   Discuss with Members

Question 32 : In the following given hash table, use linear probing to find the location of 49.

0
1
2
3
4
5
6
7
818
989
advertisement


1. 7
2. 6
3. 2
4. 0
View Answer   Discuss with Members

Question 34 : ___________ is not a theoretical problem but actually occurs in real implementations of probing.
1. Hashing
2. Clustering
3. Rehashing
4. Collision
View Answer   Discuss with Members

Question 35 : Which of the following schemes does quadratic probing come under?
1. rehashing
2. extended hashing
3. separate chaining
4. open addressing
View Answer   Discuss with Members

Question 36 : Which of the following is not a collision resolution strategy for open addressing?
1. Linear probing
2. Quadratic probing
3. Double hashing
4. Rehashing
View Answer   Discuss with Members

Question 38 : What is the value of m' if the value of m is 19?
1. 11
2. 18
3. 17
4. 15
View Answer   Discuss with Members

Question 39 : What is the time complexity to delete an element from the direct address table?
1. O(n)
2. O(logn)
3. O(nlogn)
4. O(1)
View Answer   Discuss with Members

Question 40 : Which hash function satisfies the condition of simple uniform hashing?
1. h(k) = lowerbound(km)
2. h(k)= upperbound(mk)
3. h(k)= lowerbound(k)
4. h(k)= upperbound(k)
View Answer   Discuss with Members


View 31 - 40 of 89 Questions

* Be the First to Post a Comment.

Submit comment :


Captcha Image
Reload

Ask Question

Captcha Image
Reload

Note : Name and Email never shown.





Subscribe


Become a part of EducationForever. Subscribe to our FREE Newsletter