Answer the question
In order to leave comments, you need to log in
What is the worst case for hash tables?
Hey!
They write that for hash tables, the worst case for lookups, insertions, and deletions is O(n). What is this worst case? Rebuilding a table index?
Answer the question
In order to leave comments, you need to log in
Do you have an example? This is when all elements have the same hash - it is impossible to find the desired element only by the hash and you have to search manually. Those. the table roughly speaking becomes an ordinary array.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question