GE HealthCare Interview Question

Remove duplicates from array