AJIO interview question

Remove duplicates from the integer array.