Paycom interview question

The technical interview asked to find duplicates in an array.

Interview Answer

Anonymous

12 July 2023

I solved it by sorting the list and looking for pairs. Later noticed a hash map would be faster