Pregunta de entrevista de Health Catalyst

find duplicate elements from an array.