Synechron interview question

Hash Map concept , Stream API