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
Computer Science Stack Exchange is a question and answer site for students, researchers and practitioners of computer science. It only takes a minute to sign up.Sign up to join this community