Pregunta de entrevista de Baixing.com

How to unique a array of string efficiently?