Paycom Interview Question

The technical interview asked to find duplicates in an array.

Interview Answer

Anonymous

Jul 12, 2023

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