Pregunta de entrevista de Absa Capital

What do you use for searching duplicates in an array.