Amazon Interview Question

Hashmap question asked. Amazon principles asked