QuickRide interview question

add elements to hash map using for loop and iterate that elements.