Pages
Home
Contact
About this blog...
IBM Competition
Computer Science
My Martial Arts
My Music
Dream Theater
Heavy Metal and Prog Riffs
ArpeggioMadness
Keith Merrow: Heavy Metal
Mathematics
HashingAString
The following algorithm hashes a string into an integer with minimal collisions.
In this case, Hello will be 1585. It is about the representation
of the string. The process will lead to:
(72*1) + (101*2) + (108*3) + (108*4) + (111*5) = 1585
Home