BlackRock Interview Question

1) question about hashmaps but had to be efficient