Labcorp interview question

Write a code find duplicate content