Cybage Software Interview Question

Removing duplicates from an array