title: Good hash function to remove duplicates from array
body: <p>Can any one suggest good has-function to remove duplicates from the array in order to use moderate memory consumption? Remember I am using hash map solution for that but want good hash function. Otherwise the memory consumption depends on the biggest element of the array.</p>
  
  <p>Its an array of integers....</p>