What is the size of the hash table


Discussion:

Q: Consider the hash function object type

Class hFint256
{
Public:
unsigned int operator() (int item) const
{
Return (item/16 % 256);
}
};

(a) What is the size of the hash table?

(b) What are hFint256() (16) and hFint256() (257)?

(c) In general, what is the action of the hash function?

 

Solution Preview :

Prepared by a verified Expert
Operating System: What is the size of the hash table
Reference No:- TGS01937164

Now Priced at $20 (50% Discount)

Recommended (92%)

Rated (4.4/5)