Using Data as Index

Implementation
Prototype

Advance
Generalizing to Other Than Integer
Method:(二进制编码法)
Perceiving strings as a number with base 27(because of 26 letters)
Improvement


Problem

Handling Collisions
(Buckets)
Modulo primes:为什么哈希函数要模质数 What if modulo a negative number?
Runtime:

Hash Table
Math.floorMod is more recommended because it can handle negative hashCode.

