There are lots of other constraints that come to mind. Do we do frequent insertions/deletions?
What are the memory constraints?
What is the size of the unhashed key?
And many more... No data structure always wins.
There are lots of other constraints that come to mind. Do we do frequent insertions/deletions?
What are the memory constraints?
What is the size of the unhashed key?
And many more... No data structure always wins.