title: How to use hash tables when amount of slots is unknown?
body: <p>How do I use hash tables &amp; chaining when the amount of slots required is yet unknown at usage? In other words I need to use the hash table before all keys and values for it are defined, how do I do this? I can't seem to figure it out since I assumed I'd need to know the amount of slots required in order to make a hash function to map the keys to those slots, but maybe I did not quite get the idea right of a hash table. </p>
  
  <p>If anyone could help me out it'd be much appreciated!</p>
  
  <p>Best regards,
  Skyfe.</p>