KoderLabs interview question

Remove Duplicates from an array