Deutsche Bank Interview Question

Explain how a key-value pairs work in hashmaps