I do not quite understand how universal hashing works. For example, when I insert an item into my hash table, I have to choose a random function from my universal family of hash functions. Now I want to retrieve said item. How will my hash table know which function it has to use to calculate the hash?
I do not quite understand how universal hashing works. For example, when I insert
Share
Because you’ll use the same hash function for all the items in the table.