Pergunta de entrevista da empresa Health Catalyst

find duplicate elements from an array.