Pregunta de entrevista de CloudNow

Find if a duplicate is present in this array using the respective collection