Pregunta de entrevista de HCLTech

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