Avanza Interview Question

Create a program to remove duplicates from an array.