Health Catalyst Interview Question

find duplicate elements from an array.