Let's suppose you want to calculate the hashes of the numbers 1, 5, 9, 18, 27 using the modulo: . You also want the hash values to be as uniform as possible, i.e. as few giving the same value as possible. Which would be the best choice of for this?
Simplistic hash functions
The modulo hash
Report a typo
Select one option from the list
___
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.
Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.