Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 17693

A finite map data structure that addresses stored values using a function that maps many values to few addresses.

4 votes

How are hash tables O(1) taking into account hashing speed?

The tale that hash tables are amortized $\Theta(1)$ is a lie an oversimplification. This is only true if: - The amount of data to hash per item is trivial compared to the number of Keys and the spe …
Johan's user avatar
  • 1,090
6 votes

Hash table collision probability

What are the odds of a collision given a fixed hash table size? Size of hashtable When hashing $k$ items into a hash table with $n$ slots, the expected number of collisions is $n - k + k(1-{\frac …
Johan's user avatar
  • 1,090