BlackRock Interview Question

Duplicates of an array