Guardian Life Interview Question

Find the duplicate using Hash Map?