title: How HashTable and HashMap key-value are stored in the memory?
body: <p>I understand there is a hashing technique is applied to a key to store its value in the memory address. </p>
  
  <p>But I don't understand <strong>how the collision is happening</strong> here? <strong>Which hashing algorithm does Java use to create a memory space</strong>? Is it MD5?</p>