In Time Tec interview question

Elimination of duplicate elements from an array