J.P. Morgan interview question

How does a Hash Table work?