List the limitations of linear probing?
Answer / Alka Gautam
1. Clustering: When a sequence of elements hash to consecutive positions in the table, it leads to a cluster that affects performance. 2. Load Factor: Linear probing does not allow the load factor (ratio of data and table size) to be high, as it increases the probability of collisions.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is difference between while and do while?
Are hash tables ordered?
Is unordered_map a hash table?
What is collection sort?
Which is the best book for data structures and algorithms?
How do you sort an array in descending order?
Which data structures are used in bfs and dfs algorithm?
How can you implement a stack?
Name few classes that implement collection interface?
State the demerit of linear representation of binary trees?
What does arraylist remove do?
What are splay trees?