IBM interview question

Filter unique values from an array.