Pergunta de entrevista da empresa EPAM Systems

Give an algorithm that finds duplicates in a given 2 dimensional array.