Revolut interview question

How does the Hashmap work?