Amazon Interview Question

How do HashTables work?