Pregunta de entrevista de Kinaxis

check if this array contains duplicates. how would you go about this sql problem ect