Labcorp Interview Question

Write a code find duplicate content