Google Interview Question

How do you implement a hash?