Hi
I have an array with size m = 11
and my hash function is Division method : h(k) = k mod m
I have an integer k = 10
and 10 mod 11 is -1
so where should I put this key in the array? I should put this key in the slot which its index is 10?
please help me thanks
EDITED : for getting my answer well for example I have integers like k = 10,22,31,4,15,28,17,88,59
the array would be like this?thanks
10 9 8 7 6 5 4 3 2 1 0 index
10 31 59 17 28 4 15 88 22 keys