自已一直不懂HASH这方面的知识,最近回头重新学习数据结构,在一本国外教科书上看到了一个问题,没找到答案,各位V友能帮忙算下答案吗?thx!
Q:
Assume that you have a eleven-slot closed hash table (the slots are numbered 0 through 10). Show the final hash table that would result if you used the hash function h(k) = k mod 11 and quadratic probing on this list of numbers: 3, 12, 31,9, 53,2, 79, 25, 46.