Ebizon Net Info interview question

Find distinct elements in an array