Shrine Software interview question

Declare hashmap, add elements and traverse it