Question d’entretien chez Tech Mahindra

Find duplicate elements in an array using Streams