Domanda di colloquio di CloudNow

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