Beta Bulls interview question

How hashmap work? What is DI in spring