Barclays Interview Question

Basics Java questions Hashmap implementation