Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
I want to use these two functions in two hash-tables with open-addressing. Is there any problems with these functions? If yes, why they are not appropriate?
H(k,i) = (k mod m + 3i mod m) mod m
H(k,i) = (k^2 + 2k + i(k mod m)) mod m
Required, but never shown