MarketAxess interview question

Solve a problem using HashMap