Emerge Technology interview question

How to ignore the repeated elements from an array?