Health Catalyst interview question

find duplicate elements from an array.