WebPros interview question

How to make array values unique.