Apple interview question

Hashtable mechanism