AJIO interview question

How to iterate Hash Map. Delete duplicate rows from the table