HCLTech interview question

Interviewer told me to write code for iterating Hash map on paper