Guardian Life interview question

Find the duplicate using Hash Map?