Frage im Vorstellungsgespräch bei HCLTech

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