What is the capacity of Hashtable()?

Showing Answers 1 - 3 of 3 Answers

K.V.N.R.MURALI KRISHNA

  • Mar 29th, 2006
 

the initial size of the hash table is 11. and the load factor is 0.75.if it reach the bound(i.e. 11*0.75=8) then its doubled the size ie 16. like that it keep on increase its size up to RAM size

  Was this answer useful?  Yes

Deepthik

  • Apr 27th, 2006
 

  

              The capacity of HashTable is initalCapacity * LoadFactor.

Genarally LoadFactor is 0.75.

  Was this answer useful?  Yes

Rohit Sachan

  • Jul 24th, 2006
 

it starts from 11 and load factor .75 when it comes to abs(11 X .75) = 8it will increase it self to next prime number 13 then 17 and this re hashing is done when hashtable get fulled uptill its loadfactor .. :)

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions