Pregunta de entrevista de Paycom

Coding question for finding duplicates