Goldman Sachs interview question

2 Sum with duplicates