5x5 Technologies Interview Question

Remove duplicates from an array.