T
T
timkin12018-01-10 23:06:24
C++ / C#
timkin1, 2018-01-10 23:06:24

How to build a hash table?

Hello!
Hash tables with open addressing are given with primary hash function I=K%13 and secondary hash function I=(I+4)%13. It is necessary to supplement the second table with the keys from the first, the order of writing the keys is the same as it was when filling in table number one. Please suggest how to do this, thanks!
5a56723f66e34189859056.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Rsa97, 2018-01-11
@Rsa97

The method is simple. Learn what a hash function is, how open addressing differs from chains and complete the task yourself.
By and large, Wikipedia is enough .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question